Class TransportClusterStateAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<ClusterStateRequest,ClusterStateResponse>
org.elasticsearch.action.admin.cluster.state.TransportClusterStateAction
public class TransportClusterStateAction
extends TransportMasterNodeReadAction<ClusterStateRequest,ClusterStateResponse>
-
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
ConstructorsConstructorDescriptionTransportClusterStateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(ClusterStateRequest request, ClusterState state)protected voidmasterOperation(ClusterStateRequest request, ClusterState state, ActionListener<ClusterStateResponse> listener)protected voidmasterOperation(Task task, ClusterStateRequest request, ClusterState state, ActionListener<ClusterStateResponse> listener)Override this operation if access to the task parameter is neededMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionNameMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportClusterStateAction
@Inject public TransportClusterStateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<ClusterStateRequest,ClusterStateResponse>
-
masterOperation
protected void masterOperation(ClusterStateRequest request, ClusterState state, ActionListener<ClusterStateResponse> listener) throws IOException- Specified by:
masterOperationin classTransportMasterNodeAction<ClusterStateRequest,ClusterStateResponse>- Throws:
IOException
-
masterOperation
protected void masterOperation(Task task, ClusterStateRequest request, ClusterState state, ActionListener<ClusterStateResponse> listener) throws IOExceptionDescription copied from class:TransportMasterNodeActionOverride this operation if access to the task parameter is needed- Overrides:
masterOperationin classTransportMasterNodeAction<ClusterStateRequest,ClusterStateResponse>- Throws:
IOException
-