public class PairedCluster
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PairedCluster.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
PairedCluster() |
PairedCluster(java.lang.String clusterName,
java.lang.Long clusterPairID,
java.util.UUID clusterPairUUID,
java.lang.Long latency,
java.lang.String mvip,
java.lang.String status,
java.lang.String version,
Optional<java.lang.String> clusterUUID) |
Modifier and Type | Method and Description |
---|---|
PairedCluster.Builder |
asBuilder() |
static PairedCluster.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getClusterName()
Name of the other cluster in the pair
|
java.lang.Long |
getClusterPairID()
Unique ID given to each cluster in the pair.
|
java.util.UUID |
getClusterPairUUID()
Universally unique identifier.
|
Optional<java.lang.String> |
getClusterUUID()
The cluster UUID
|
java.lang.Long |
getLatency()
Number, in milliseconds, of latency between clusters.
|
java.lang.String |
getMvip()
IP of the management connection for paired clusters.
|
java.lang.String |
getStatus()
Can be one of the following:
Connected
Misconfigured
Disconnected
|
java.lang.String |
getVersion()
The Element OS version of the other cluster in the pair.
|
int |
hashCode() |
void |
setClusterName(java.lang.String clusterName) |
void |
setClusterPairID(java.lang.Long clusterPairID) |
void |
setClusterPairUUID(java.util.UUID clusterPairUUID) |
void |
setClusterUUID(Optional<java.lang.String> clusterUUID) |
void |
setLatency(java.lang.Long latency) |
void |
setMvip(java.lang.String mvip) |
void |
setStatus(java.lang.String status) |
void |
setVersion(java.lang.String version) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.String getClusterName()
public void setClusterName(java.lang.String clusterName)
public java.lang.Long getClusterPairID()
public void setClusterPairID(java.lang.Long clusterPairID)
public java.util.UUID getClusterPairUUID()
public void setClusterPairUUID(java.util.UUID clusterPairUUID)
public java.lang.Long getLatency()
public void setLatency(java.lang.Long latency)
public java.lang.String getMvip()
public void setMvip(java.lang.String mvip)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public Optional<java.lang.String> getClusterUUID()
public void setClusterUUID(Optional<java.lang.String> clusterUUID)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static PairedCluster.Builder builder()
public final PairedCluster.Builder asBuilder()