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
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()
-
-
-
Constructor Detail
-
StaleShard
public StaleShard(ShardId shardId, java.lang.String allocationId)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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.
-
-