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, transportService
Fields 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 ClusterBlockException
checkBlock
(ClusterRerouteRequest request, ClusterState state) protected void
masterOperation
(ClusterRerouteRequest request, ClusterState state, ActionListener<ClusterRerouteResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperation
Methods 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:
checkBlock
in classTransportMasterNodeAction<ClusterRerouteRequest,
ClusterRerouteResponse>
-
masterOperation
protected void masterOperation(ClusterRerouteRequest request, ClusterState state, ActionListener<ClusterRerouteResponse> listener) - Specified by:
masterOperation
in classTransportMasterNodeAction<ClusterRerouteRequest,
ClusterRerouteResponse>
-