getLogger().log(Level.INFO,
_strMgr.getString( "gms.initializing", clusterName));
GMSFactory.setGMSEnabledState( clusterName, Boolean.TRUE );
final Properties props = getGMSConfigProps(cluster,
configContext);
final GroupManagementService gms =
(GroupManagementService) GMSFactory.startGMSModule(
dasInstanceName,
clusterName,
//DAS is always a SPECTATOR member
GroupManagementService.MemberType.SPECTATOR,
props );
gms.addActionFactory(
new FailureNotificationActionFactoryImpl(this));
gms.addActionFactory(
new JoinNotificationActionFactoryImpl(this));
gms.addActionFactory(
new PlannedShutdownActionFactoryImpl(this));
gms.addActionFactory(
new FailureSuspectedActionFactoryImpl(this));
final String threadName ="GroupManagementService_"+
dasInstanceName+'_'+clusterName;
gms.join();
initHealthMap(
gms.getGroupHandle()
.getCurrentCoreMembersWithStartTimes(),
clusterName, cluster );
}
}
} catch (ConfigException ex) {