public interface AllocationCommand extends NamedWriteable, ToXContent
NetworkModule
.Modifier and Type | Interface and Description |
---|---|
static interface |
AllocationCommand.Parser<T extends AllocationCommand> |
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
RerouteExplanation |
execute(RoutingAllocation allocation,
boolean explain)
Executes the command on a
RoutingAllocation setup |
default java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
java.lang.String |
name()
Get the name of the command
|
toXContent
java.lang.String name()
RerouteExplanation execute(RoutingAllocation allocation, boolean explain)
RoutingAllocation
setupallocation
- RoutingAllocation
to modifyElasticsearchException
- if something happens during reconfigurationdefault java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable