Interface | Description |
---|---|
RoutingChangesObserver |
Records changes made to
RoutingNodes during an allocation round. |
ShardIterator |
Allows to iterate over a set of shard instances (routing) within a shard id group.
|
ShardsIterator |
Allows to iterate over unrelated shards.
|
Class | Description |
---|---|
AllocationId |
Uniquely identifies an allocation.
|
DelayedAllocationService |
The
DelayedAllocationService listens to cluster state changes and checks
if there are unassigned shards with delayed allocation (unassigned shards that have
the delay marker). |
GroupShardsIterator<ShardIt extends ShardIterator> |
This class implements a compilation of
ShardIterator s. |
IndexRoutingTable |
The
IndexRoutingTable represents routing information for a single
index. |
IndexRoutingTable.Builder | |
IndexShardRoutingTable |
IndexShardRoutingTable encapsulates all instances of a single shard. |
IndexShardRoutingTable.Builder | |
Murmur3HashFunction |
Hash function based on the Murmur3 algorithm, which is the default as of Elasticsearch 2.0.
|
OperationRouting | |
PlainShardIterator | |
PlainShardsIterator |
A simple
ShardsIterator that iterates a list or sub-list of
shard routings . |
RecoverySource |
Represents the recovery source of a shard.
|
RecoverySource.LocalShardsRecoverySource |
recovery from other shards on same node (shrink index action)
|
RecoverySource.PeerRecoverySource |
peer recovery from a primary shard
|
RecoverySource.SnapshotRecoverySource |
recovery from a snapshot
|
RecoverySource.StoreRecoverySource |
recovery from an existing on-disk store or a fresh copy
|
RotationShardShuffler |
Basic
ShardShuffler implementation that uses an AtomicInteger to generate seeds and uses a rotation to permute shards. |
RoutingChangesObserver.AbstractRoutingChangesObserver |
Abstract implementation of
RoutingChangesObserver that does not take any action. |
RoutingChangesObserver.DelegatingRoutingChangesObserver | |
RoutingNode |
A
RoutingNode represents a cluster node associated with a single DiscoveryNode including all shards
that are hosted on that nodes. |
RoutingNodes |
RoutingNodes represents a copy the routing information contained in the cluster state . |
RoutingNodes.UnassignedShards | |
RoutingService |
A
RoutingService listens to clusters state. |
RoutingTable |
Represents a global cluster-wide routing table for all indices including the
version of the current routing state.
|
RoutingTable.Builder |
Builder for the routing table.
|
ShardRouting |
ShardRouting immutably encapsulates information about shard
routings like id, state, version, etc. |
ShardShuffler |
A shuffler for shards whose primary goal is to balance load.
|
UnassignedInfo |
Holds additional information as to why the shard is in unassigned state.
|
Enum | Description |
---|---|
Preference |
Routing Preference Type
|
RecoverySource.Type | |
ShardRoutingState |
Represents the current state of a
ShardRouting as defined by the
cluster. |
UnassignedInfo.AllocationStatus |
Captures the status of an unsuccessful allocation attempt for the shard,
causing it to remain in the unassigned state.
|
UnassignedInfo.Reason |
Reason why the shard is in unassigned state.
|
Exception | Description |
---|---|
IllegalShardRoutingStateException |
This exception defines illegal states of shard routing
|
RoutingException |
A base
Exception s for all exceptions thrown by routing related operations. |