public class MetadataHosts
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MetadataHosts.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
MetadataHosts() |
MetadataHosts(java.lang.Long[] deadSecondaries,
java.lang.Long[] liveSecondaries,
java.lang.Long primary) |
Modifier and Type | Method and Description |
---|---|
MetadataHosts.Builder |
asBuilder() |
static MetadataHosts.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long[] |
getDeadSecondaries()
Secondary metadata (slice) services that are in a dead state.
|
java.lang.Long[] |
getLiveSecondaries()
Secondary metadata (slice) services that are currently in a "live" state.
|
java.lang.Long |
getPrimary()
The primary metadata (slice) services hosting the volume.
|
int |
hashCode() |
void |
setDeadSecondaries(java.lang.Long[] deadSecondaries) |
void |
setLiveSecondaries(java.lang.Long[] liveSecondaries) |
void |
setPrimary(java.lang.Long primary) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.Long[] getDeadSecondaries()
public void setDeadSecondaries(java.lang.Long[] deadSecondaries)
public java.lang.Long[] getLiveSecondaries()
public void setLiveSecondaries(java.lang.Long[] liveSecondaries)
public java.lang.Long getPrimary()
public void setPrimary(java.lang.Long primary)
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 MetadataHosts.Builder builder()
public final MetadataHosts.Builder asBuilder()