Class StaleShard
- java.lang.Object
-
- org.elasticsearch.cluster.routing.allocation.StaleShard
-
public class StaleShard extends java.lang.ObjectA 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 Detail
-
StaleShard
public StaleShard(ShardId shardId, java.lang.String allocationId)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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.
-
-