Class StaleShard


  • public class StaleShard
    extends java.lang.Object
    A class that represents a stale shard copy.
    • Constructor Summary

      Constructors 
      Constructor Description
      StaleShard​(ShardId shardId, java.lang.String allocationId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAllocationId()
      The allocation id of the stale shard.
      ShardId getShardId()
      The shard id of the stale shard.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StaleShard

        public StaleShard​(ShardId shardId,
                          java.lang.String allocationId)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getShardId

        public ShardId getShardId()
        The shard id of the stale shard.
      • getAllocationId

        public java.lang.String getAllocationId()
        The allocation id of the stale shard.