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 |
String |
name()
Get the name of the command
|
String name()
RerouteExplanation execute(RoutingAllocation allocation, boolean explain)
RoutingAllocation
setupallocation
- RoutingAllocation
to modifyElasticsearchException
- if something happens during reconfigurationCopyright © 2009–2017. All rights reserved.