public class ReplicationGroup
extends java.lang.Object
ReplicatedEnvironment or a ReplicationGroupAdmin| Modifier and Type | Method and Description |
|---|---|
java.util.Set<ReplicationNode> |
getElectableNodes()
Returns the subset of ELECTABLE nodes with replicated environments that
can be elected and become masters.
|
ReplicationNode |
getMember(java.lang.String nodeName)
Get administrative information about a node by its node name.
|
java.util.Set<ReplicationNode> |
getMonitorNodes()
Returns the subset of monitor nodes.
|
java.lang.String |
getName()
Returns the name associated with the group.
|
java.util.Set<ReplicationNode> |
getNodes()
Returns administrative information for all the nodes in the group.
|
java.lang.String |
toString()
Returns a formatted version of the information held in a
ReplicationGroup.
|
public java.lang.String getName()
public java.util.Set<ReplicationNode> getNodes()
NodeTypepublic java.util.Set<ReplicationNode> getElectableNodes()
NodeTypepublic java.util.Set<ReplicationNode> getMonitorNodes()
NodeTypepublic ReplicationNode getMember(java.lang.String nodeName)
nodeName - the node name to be used in the lookup.public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2004, 2013 Oracle and/or its affiliates. All rights reserved.