ClassDescriptionUniquely identifies an allocation.A
RerouteServicethat batches together reroute requests to avoid unnecessary extra reroutes.The
DelayedAllocationServicelistens to cluster state changes and checks if there are unassigned shards with delayed allocation (unassigned shards that have the delay marker).GroupShardsIterator<ShardIt extends Comparable<ShardIt> & Countable>This class implements a compilation of
ShardIterators.This exception defines illegal states of shard routingGenerates the shard id for
IndexRoutingTablerepresents routing information for a single index.
IndexShardRoutingTableencapsulates all instances of a single shard.Hash function based on the Murmur3 algorithm, which is the default as of Elasticsearch 2.0.The
ShardsIteratorwhich iterates all shards or a given
shard idA simple
ShardsIteratorthat iterates a list or sub-list of
shard indexRoutings.Routing Preference TypeRepresents the recovery source of a shard.Recovery from a fresh copyRecovery from an existing on-disk storerecovery from other shards on same node (shrink index action)peer recovery from a primary shardrecovery from a snapshotAsynchronously performs a cluster reroute, updating any shard states and rebalancing the cluster if appropriate.Basic
ShardShufflerimplementation that uses an
AtomicIntegerto generate seeds and uses a rotation to permute shards.Records changes made to
RoutingNodesduring an allocation round.Abstract implementation of
RoutingChangesObserverthat does not take any action.A base
Exceptions for all exceptions thrown by routing related operations.A
RoutingNoderepresents a cluster node associated with a single
DiscoveryNodeincluding all shards that are hosted on that nodes.
RoutingNodesrepresents a copy the routing information contained in the
cluster state.Represents a global cluster-wide routing table for all indices including the version of the current routing state.Builder for the routing table.Allows to iterate over a set of shard instances (routing) within a shard id group.
ShardRoutingimmutably encapsulates information about shard indexRoutings like id, state, version, etc.Represents the current state of a
ShardRoutingas defined by the cluster.A shuffler for shards whose primary goal is to balance load.Allows to iterate over unrelated shards.Holds additional information as to why the shard is in unassigned state.Captures the status of an unsuccessful allocation attempt for the shard, causing it to remain in the unassigned state.Reason why the shard is in unassigned state.