public class ReplicationGroup
extends java.lang.Object
ReplicatedEnvironment
or a ReplicationGroupAdmin
Modifier and Type | Field and Description |
---|---|
(package private) RepGroupImpl |
repGroupImpl |
Constructor and Description |
---|
ReplicationGroup(RepGroupImpl repGroupImpl) |
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.util.Set<ReplicationNode> |
getRemovedNodes() |
RepGroupImpl |
getRepGroupImpl() |
java.lang.String |
toString()
Returns a formatted version of the information held in a
ReplicationGroup.
|
final RepGroupImpl repGroupImpl
public ReplicationGroup(RepGroupImpl repGroupImpl)
public java.lang.String getName()
public java.util.Set<ReplicationNode> getNodes()
NodeType
public java.util.Set<ReplicationNode> getElectableNodes()
NodeType
public java.util.Set<ReplicationNode> getMonitorNodes()
NodeType
public ReplicationNode getMember(java.lang.String nodeName)
nodeName
- the node name to be used in the lookup.public RepGroupImpl getRepGroupImpl()
public java.util.Set<ReplicationNode> getRemovedNodes()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2004-2012 Oracle. All rights reserved.