public interface Cluster
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAffinityAddress()
Get the affinity address for the node if configured.
|
int |
getAffinityDuration()
Get the affinity duration for the node if configured.
|
java.util.Set<java.lang.String> |
getNodeIDs()
Get a list of node IDs connected to the server.
|
void |
resetNodeStreams()
Reset the communication streams for all of the nodes connected within the cluster.
|
void |
setAffinityAddress(java.lang.String affinityAddress)
Set the affinity address that will be sent in the u66 (SERVER_HELLO).
|
void |
setAffinityDuration(int affinityDuration)
Set the affinity duration that will be sent in the u66 (SERVER_HELL).
|
java.lang.String getAffinityAddress()
void setAffinityAddress(java.lang.String affinityAddress)
affinityAddress
- the affinity address that will be sent in the u66int getAffinityDuration()
void setAffinityDuration(int affinityDuration)
affinityDuration
- the affinity duration that will be sent in the u66java.util.Set<java.lang.String> getNodeIDs()
void resetNodeStreams()