public class ReplicaNode extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ReplicaNode.ReplicationType
An enumeration of how objects are sent to replica nodes.
|
Constructor and Description |
---|
ReplicaNode(java.lang.String nodeName,
ReplicaNode.ReplicationType replicationType)
Construct a ReplicaNode entry
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNodeName()
Get the Replica node name.
|
ReplicaNode.ReplicationType |
getReplicationType()
Get the ReplicationType value for the replica.
|
public ReplicaNode(java.lang.String nodeName, ReplicaNode.ReplicationType replicationType)
nodeName
- Replica node name.replicationType
- How objects are replicated to the remote node.public final java.lang.String getNodeName()
public final ReplicaNode.ReplicationType getReplicationType()