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.
  • Field Details

  • Method Details

    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      java.io.IOException
    • getTotal

      public long getTotal()
    • containsShardId

      public boolean containsShardId​(ShardId shardId)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object