Class StaleShard
java.lang.Object
org.elasticsearch.cluster.routing.allocation.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
Modifier and Type Method Description java.lang.StringgetAllocationId()The allocation id of the stale shard.ShardIdgetShardId()The shard id of the stale shard.java.lang.StringtoString()
-
Constructor Details
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getShardId
The shard id of the stale shard. -
getAllocationId
public java.lang.String getAllocationId()The allocation id of the stale shard.
-