Package org.elasticsearch.cluster
Class ClusterInfo.ReservedSpace
java.lang.Object
org.elasticsearch.cluster.ClusterInfo.ReservedSpace
- All Implemented Interfaces:
Writeable
- Enclosing class:
- ClusterInfo
Represents the total amount of "reserved" space on a particular data path, together with the set of shards considered.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsShardId(ShardId shardId)booleanlonggetTotal()inthashCode()voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
Field Details
-
EMPTY
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getTotal
public long getTotal() -
containsShardId
-
equals
-
hashCode
public int hashCode()
-