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 classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsShardId
(ShardId shardId) boolean
long
getTotal()
int
hashCode()
void
writeTo
(StreamOutput out) Write this into the StreamOutput.
-
Field Details
-
EMPTY
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
getTotal
public long getTotal() -
containsShardId
-
equals
-
hashCode
public int hashCode()
-