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 classClusterInfo.ReservedSpace.BuilderNested 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.ReservedSpaceEMPTY -
Method Summary
Modifier and Type Method Description booleancontainsShardId(ShardId shardId)booleanequals(java.lang.Object o)longgetTotal()inthashCode()voidwriteTo(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:WriteableWrite this into the StreamOutput. -
getTotal
public long getTotal() -
containsShardId
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-