public class ReplicationGroup extends Object
ReplicatedEnvironment
or a ReplicationGroupAdmin
Constructor and Description |
---|
ReplicationGroup(com.sleepycat.je.rep.impl.RepGroupImpl repGroupImpl) |
Modifier and Type | Method and Description |
---|---|
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.
|
Set<ReplicationNode> |
getRemovedNodes() |
com.sleepycat.je.rep.impl.RepGroupImpl |
getRepGroupImpl() |
String |
toString()
Returns a formatted version of the information held in a
ReplicationGroup.
|
public ReplicationGroup(com.sleepycat.je.rep.impl.RepGroupImpl repGroupImpl)
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 com.sleepycat.je.rep.impl.RepGroupImpl getRepGroupImpl()
public Set<ReplicationNode> getRemovedNodes()
Copyright (c) 2004, 2013 Oracle and/or its affiliates. All rights reserved.