Module org.elasticsearch.server
Class TransportClusterRerouteAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<ClusterRerouteRequest,ClusterRerouteResponse>
org.elasticsearch.action.support.HandledTransportAction<ClusterRerouteRequest,ClusterRerouteResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<ClusterRerouteRequest,ClusterRerouteResponse>
org.elasticsearch.action.admin.cluster.reroute.TransportClusterRerouteAction
- All Implemented Interfaces:
ActionWithReservedState<ClusterRerouteRequest>
public class TransportClusterRerouteAction
extends TransportMasterNodeAction<ClusterRerouteRequest,ClusterRerouteResponse>
-
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportClusterRerouteAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, AllocationService allocationService, ActionFilters actionFilters, ProjectResolver projectResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(ClusterRerouteRequest request, ClusterState state) protected voidmasterOperation(Task task, ClusterRerouteRequest request, ClusterState state, ActionListener<ClusterRerouteResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute, validateForReservedStateMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportClusterRerouteAction
@Inject public TransportClusterRerouteAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, AllocationService allocationService, ActionFilters actionFilters, ProjectResolver projectResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<ClusterRerouteRequest,ClusterRerouteResponse>
-
masterOperation
protected void masterOperation(Task task, ClusterRerouteRequest request, ClusterState state, ActionListener<ClusterRerouteResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<ClusterRerouteRequest,ClusterRerouteResponse>
-