Package org.elasticsearch.cluster
Class ClusterInfo.ReservedSpace
java.lang.Object
org.elasticsearch.cluster.ClusterInfo.ReservedSpace
- All Implemented Interfaces:
Writeable
- Enclosing class:
- ClusterInfo
public static class ClusterInfo.ReservedSpace extends java.lang.Object implements Writeable
Represents the total amount of "reserved" space on a particular data path, together with the set of shards considered.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterInfo.ReservedSpace.Builder
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields Modifier and Type Field Description static ClusterInfo.ReservedSpace
EMPTY
-
Method Summary
Modifier and Type Method Description boolean
containsShardId(ShardId shardId)
boolean
equals(java.lang.Object o)
long
getTotal()
int
hashCode()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
EMPTY
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getTotal
public long getTotal() -
containsShardId
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-