Class MoveAllocationCommand

java.lang.Object
org.elasticsearch.cluster.routing.allocation.command.MoveAllocationCommand
All Implemented Interfaces:
AllocationCommand, NamedWriteable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class MoveAllocationCommand extends Object implements AllocationCommand
A command that moves a shard from a specific node to another node.
Note: The shard needs to be in the state ShardRoutingState.STARTED in order to be moved.