Package org.elasticsearch.cluster
Class ClusterInfo.ReservedSpace
java.lang.Object
org.elasticsearch.cluster.ClusterInfo.ReservedSpace
- Enclosing class:
- ClusterInfo
public static class ClusterInfo.ReservedSpace
extends java.lang.Object
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.Builder -
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()
-
Field Details
-
Method Details
-
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
-