if (GMSBS_LOGGER.isLoggable(TRACE_LEVEL)) {
GMSBS_LOGGER.log(TRACE_LEVEL, "ClusterChangeEvent add cluster " + cluster.getName());
}
GMSAdapter localGmsAdapter = checkCluster(cluster);
if (localGmsAdapter != null) {
GroupManagementService gms = localGmsAdapter.getModule();
if (gms != null) {
gms.reportJoinedAndReadyState();
}
}
// todo: when supporting multiple clusters, ensure that newly added cluster has a different gms-multicast-address than all existing clusters.
// currently, generating a unique multicast address depending on random so this check is necessary.