public interface AllocationCommand
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AllocationCommand
Factory to create
AllocationCommands
|
| Modifier and Type | Method and Description |
|---|---|
RerouteExplanation |
execute(RoutingAllocation
Executes the command on a
RoutingAllocation setup
|
String |
name()
Get the name of the command
|
Stringname()
RerouteExplanationexecute(RoutingAllocation allocation, boolean explain) throws ElasticsearchException
RoutingAllocation setup
allocation -
RoutingAllocation to modify
ElasticsearchException - if something happens during reconfiguration