Package com.sun.enterprise.ee.cms.core

Examples of com.sun.enterprise.ee.cms.core.GroupManagementService.join()


                        gms.addActionFactory(
                                new FailureSuspectedActionFactoryImpl(this));

                        final String threadName ="GroupManagementService_"+
                                                dasInstanceName+'_'+clusterName;
                        gms.join();
                        initHealthMap(
                                    gms.getGroupHandle()
                                        .getCurrentCoreMembersWithStartTimes(),
                                      clusterName, cluster );
                    }
View Full Code Here


              String initialHostList = ClusterHelper.getClusterPropertyValue(cluster, INITIAL_HOST_LIST);
              if (initialHostList != null)
                     props.put(ServiceProviderConfigurationKeys.VIRTUAL_MULTICAST_URI_LIST.toString(), initialHostList);
                GMSFactory.setGMSEnabledState(clusterName, Boolean.TRUE);
                GroupManagementService gms = (GroupManagementService) GMSFactory.startGMSModule(NODE_AGENT, clusterName, MemberType.WATCHDOG, props);
                gms.join();
                gmsMap.put(clusterName, gms);
            }
        } catch (Exception e) {
            getLogger().log(Level.INFO, "Exception while joining ", e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.