Uses of Interface
org.elasticsearch.cluster.routing.allocation.command.AllocationCommand
-
Packages that use AllocationCommand Package Description org.elasticsearch.action.admin.cluster.reroute org.elasticsearch.cluster.routing.allocation org.elasticsearch.cluster.routing.allocation.command -
-
Uses of AllocationCommand in org.elasticsearch.action.admin.cluster.reroute
Methods in org.elasticsearch.action.admin.cluster.reroute with parameters of type AllocationCommand Modifier and Type Method Description ClusterRerouteRequestClusterRerouteRequest. add(AllocationCommand... commands)Adds allocation commands to be applied to the cluster.ClusterRerouteRequestBuilderClusterRerouteRequestBuilder. add(AllocationCommand... commands)Adds allocation commands to be applied to the cluster. -
Uses of AllocationCommand in org.elasticsearch.cluster.routing.allocation
Methods in org.elasticsearch.cluster.routing.allocation that return AllocationCommand Modifier and Type Method Description AllocationCommandRerouteExplanation. command()Constructors in org.elasticsearch.cluster.routing.allocation with parameters of type AllocationCommand Constructor Description RerouteExplanation(AllocationCommand command, Decision decisions) -
Uses of AllocationCommand in org.elasticsearch.cluster.routing.allocation.command
Classes in org.elasticsearch.cluster.routing.allocation.command that implement AllocationCommand Modifier and Type Class Description classAbstractAllocateAllocationCommandAbstract base class for allocating an unassigned shard to a nodeclassAllocateEmptyPrimaryAllocationCommandAllocates an unassigned empty primary shard to a specific node.classAllocateReplicaAllocationCommandAllocates an unassigned replica shard to a specific node.classAllocateStalePrimaryAllocationCommandAllocates an unassigned stale primary shard to a specific node.classBasePrimaryAllocationCommandAbstract base class for allocating an unassigned primary shard to a nodeclassCancelAllocationCommandA command that cancels relocation, or recovery of a given shard on a node.classMoveAllocationCommandA command that moves a shard from a specific node to another node.
Note: The shard needs to be in the stateShardRoutingState.STARTEDin order to be moved.Methods in org.elasticsearch.cluster.routing.allocation.command that return types with arguments of type AllocationCommand Modifier and Type Method Description List<AllocationCommand>AllocationCommands. commands()Get the commands wrapped by this instanceMethods in org.elasticsearch.cluster.routing.allocation.command with parameters of type AllocationCommand Modifier and Type Method Description AllocationCommandsAllocationCommands. add(AllocationCommand... commands)Adds a set of commands to this collectionConstructors in org.elasticsearch.cluster.routing.allocation.command with parameters of type AllocationCommand Constructor Description AllocationCommands(AllocationCommand... commands)Creates a new set ofAllocationCommands
-