| Package | Description |
|---|---|
| org.elasticsearch.action.admin.cluster.reroute | |
| org.elasticsearch.cluster.routing.allocation | |
| org.elasticsearch.cluster.routing.allocation.command |
| Modifier and Type | Method and Description |
|---|---|
ClusterRerouteRequestBuilder |
ClusterRerouteRequestBuilder.add(AllocationCommand... commands)
Adds allocation commands to be applied to the cluster.
|
ClusterRerouteRequest |
ClusterRerouteRequest.add(AllocationCommand... commands)
Adds allocation commands to be applied to the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
AllocationCommand |
RerouteExplanation.command() |
| Constructor and Description |
|---|
RerouteExplanation(AllocationCommand command,
Decision decisions) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AllocationCommand.Factory<T extends AllocationCommand>
Factory to create
AllocationCommands |
| Modifier and Type | Class and Description |
|---|---|
class |
AllocateAllocationCommand
Allocates an unassigned shard to a specific node.
|
class |
CancelAllocationCommand
A command that cancels relocation, or recovery of a given shard on a node.
|
class |
MoveAllocationCommand
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. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AllocationCommand> |
AllocationCommands.lookupFactory(String name) |
static <T extends AllocationCommand> |
AllocationCommands.lookupFactorySafe(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<AllocationCommand> |
AllocationCommands.commands()
Get the commands wrapped by this instance
|
| Modifier and Type | Method and Description |
|---|---|
AllocationCommands |
AllocationCommands.add(AllocationCommand... commands)
Adds a set of commands to this collection
|
| Constructor and Description |
|---|
AllocationCommands(AllocationCommand... commands)
Creates a new set of
AllocationCommands |
Copyright © 2009–2017. All rights reserved.