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.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 Details
-
StaleShard
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getShardId
The shard id of the stale shard. -
getAllocationId
public java.lang.String getAllocationId()The allocation id of the stale shard.
-