org.elasticsearch.cluster.routing.allocation.StaleShard

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

    Constructors
    Constructor
    Description
    StaleShard​(ShardId shardId,  allocationId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The allocation id of the stale shard.
    The shard id of the stale shard.
     

    Methods inherited from class java.lang.

    , , , , , , , , ,
  • Constructor Details

    • StaleShard

      public StaleShard(ShardId shardId,  allocationId)
  • Method Details

    • toString

      public  toString()
      Overrides:
       in class 
    • getShardId

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

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