| Interface | Description |
|---|---|
| HashFunction |
Simple hash function interface used for shard routing.
|
| 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.
|
| DjbHashFunction |
This class implements the efficient hash function
developed by Daniel J.
|
| GroupShardsIterator |
This class implements a compilation of
ShardIterators. |
| 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. |
| RestoreSource |
Represents snapshot and index from which a recovering index should be restored
|
| RotationShardShuffler |
Basic
ShardShuffler implementation that uses an AtomicInteger to generate seeds and uses a rotation to permute shards. |
| 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 | |
| RoutingTableValidation |
Encapsulates the result of a routing table validation and provides access to
validation failures.
|
| 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.
|
| SimpleHashFunction |
This class implements a simple hash function based on Java Build-In
Object.hashCode() |
| UnassignedInfo |
Holds additional information as to why the shard is in unassigned state.
|
| Enum | Description |
|---|---|
| Preference |
Routing Preference Type
|
| ShardRoutingState |
Represents the current state of a
ShardRouting as defined by the
cluster. |
| UnassignedInfo.Reason |
Reason why the shard is in unassigned state.
|
| Exception | Description |
|---|---|
| IllegalShardRoutingStateException |
This exception defines illegal states of shard routing
|
| RoutingException |
A base
Exceptions for all exceptions thrown by routing related operations. |
| RoutingValidationException |
This class defines
RoutingExceptions related to
the validation of routing |
Copyright © 2009–2017. All rights reserved.