public interface AllocationCommand
Modifier and Type | Interface and Description |
---|---|
static interface |
AllocationCommand.Factory<T extends AllocationCommand>
Factory to create
AllocationCommand s |
Modifier and Type | Method and Description |
---|---|
RerouteExplanation |
execute(RoutingAllocation allocation,
boolean explain)
Executes the command on a
RoutingAllocation setup |
java.lang.String |
name()
Get the name of the command
|
java.lang.String name()
RerouteExplanation execute(RoutingAllocation allocation, boolean explain)
RoutingAllocation
setupallocation
- RoutingAllocation
to modifyElasticsearchException
- if something happens during reconfiguration