Class TransportClusterRerouteAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<ClusterRerouteRequest,ClusterRerouteResponse>
org.elasticsearch.action.admin.cluster.reroute.TransportClusterRerouteAction
public class TransportClusterRerouteAction
extends TransportMasterNodeAction<ClusterRerouteRequest,ClusterRerouteResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportClusterRerouteAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, AllocationService allocationService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(ClusterRerouteRequest request, ClusterState state)protected voidmasterOperation(ClusterRerouteRequest request, ClusterState state, ActionListener<ClusterRerouteResponse> listener)Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperationMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportClusterRerouteAction
@Inject public TransportClusterRerouteAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, AllocationService allocationService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<ClusterRerouteRequest,ClusterRerouteResponse>
-
masterOperation
protected void masterOperation(ClusterRerouteRequest request, ClusterState state, ActionListener<ClusterRerouteResponse> listener)- Specified by:
masterOperationin classTransportMasterNodeAction<ClusterRerouteRequest,ClusterRerouteResponse>
-