|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.rep.ReplicationGroup
public class ReplicationGroup
An administrative view of the collection of nodes that form the replication
group. Can be obtained from a ReplicatedEnvironment
or a ReplicationGroupAdmin
Field Summary | |
---|---|
(package private) RepGroupImpl |
repGroupImpl
|
Constructor Summary | |
---|---|
ReplicationGroup(RepGroupImpl repGroupImpl)
|
Method Summary | |
---|---|
Set<ReplicationNode> |
getElectableNodes()
Returns the subset of ELECTABLE nodes with replicated environments that can be elected and become masters. |
ReplicationNode |
getMember(String nodeName)
Get administrative information about a node by its node name. |
Set<ReplicationNode> |
getMonitorNodes()
Returns the subset of monitor nodes. |
String |
getName()
Returns the name associated with the group. |
Set<ReplicationNode> |
getNodes()
Returns administrative information for all the nodes in the group. |
RepGroupImpl |
getRepGroupImpl()
|
String |
toString()
Returns a formatted version of the information held in a ReplicationGroup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
final RepGroupImpl repGroupImpl
Constructor Detail |
---|
public ReplicationGroup(RepGroupImpl repGroupImpl)
Method Detail |
---|
public String getName()
public Set<ReplicationNode> getNodes()
NodeType
public Set<ReplicationNode> getElectableNodes()
NodeType
public Set<ReplicationNode> getMonitorNodes()
NodeType
public ReplicationNode getMember(String nodeName)
nodeName
- the node name to be used in the lookup.
public RepGroupImpl getRepGroupImpl()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |