Package org.jboss.ha.core.framework.server

Examples of org.jboss.ha.core.framework.server.DistributedReplicantManagerImpl.lookupReplicantsNodeNames()


                        params={@ManagementParameter(name="key",
                                                     description="The name of the service")})
   public List<String> lookupDRMNodeNames(String key)
   {
      DistributedReplicantManagerImpl drm = getDistributedReplicantManagerImpl();
      return drm == null ? null : drm.lookupReplicantsNodeNames(key);
   }
  
   @ManagementOperation(description="Returns a hash of the list of nodes that " +
                                    "have registered an object with the DistributedReplicantManager under  the given key",
                        impact=Impact.ReadOnly,
View Full Code Here


                  drm._add("TEST", nodes[node].getName(), replicants[node]);  
               added[node] = true;
            }
           
            // Confirm the proper order of the replicant node names
            lookup = maskListClass(drm.lookupReplicantsNodeNames("TEST"));
            confirmReplicantList(lookup, names, added);
           
            // Confirm the proper order of the replicants via lookupReplicants
            lookup = maskListClass(drm.lookupReplicants("TEST"));
            confirmReplicantList(lookup, replicants, added);
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.