Package org.elasticsearch.cluster.routing.allocation.command
-
Interface Summary Interface Description AllocationCommand A command to move shards in some way.AllocationCommand.Parser<T extends AllocationCommand> -
Class Summary Class Description AbstractAllocateAllocationCommand Abstract base class for allocating an unassigned shard to a nodeAbstractAllocateAllocationCommand.Builder<T extends AbstractAllocateAllocationCommand> Works around ObjectParser not supporting constructor arguments.AllocateEmptyPrimaryAllocationCommand Allocates an unassigned empty primary shard to a specific node.AllocateEmptyPrimaryAllocationCommand.Builder AllocateReplicaAllocationCommand Allocates an unassigned replica shard to a specific node.AllocateReplicaAllocationCommand.Builder AllocateStalePrimaryAllocationCommand Allocates an unassigned stale primary shard to a specific node.AllocateStalePrimaryAllocationCommand.Builder AllocationCommands A simpleAllocationCommand
composite managing severalAllocationCommand
implementationsBasePrimaryAllocationCommand Abstract base class for allocating an unassigned primary shard to a nodeBasePrimaryAllocationCommand.Builder<T extends BasePrimaryAllocationCommand> CancelAllocationCommand A command that cancels relocation, or recovery of a given shard on a node.MoveAllocationCommand A command that moves a shard from a specific node to another node.
Note: The shard needs to be in the stateShardRoutingState.STARTED
in order to be moved.