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, indexNameExpressionResolver, threadPool, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
-
Constructor Summary
Constructors Constructor Description TransportClusterStateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(ClusterStateRequest request, ClusterState state)protected java.lang.Stringexecutor()protected voidmasterOperation(ClusterStateRequest request, ClusterState state, ActionListener<ClusterStateResponse> listener)protected ClusterStateResponseread(StreamInput in)-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecute
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperation
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportClusterStateAction
@Inject public TransportClusterStateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
executor
protected java.lang.String executor()
- Specified by:
executorin classTransportMasterNodeAction<ClusterStateRequest,ClusterStateResponse>
-
read
protected ClusterStateResponse read(StreamInput in) throws java.io.IOException
- Specified by:
readin classTransportMasterNodeAction<ClusterStateRequest,ClusterStateResponse>- Throws:
java.io.IOException
-
checkBlock
protected ClusterBlockException checkBlock(ClusterStateRequest request, ClusterState state)
- Specified by:
checkBlockin classTransportMasterNodeAction<ClusterStateRequest,ClusterStateResponse>
-
masterOperation
protected void masterOperation(ClusterStateRequest request, ClusterState state, ActionListener<ClusterStateResponse> listener) throws java.io.IOException
- Specified by:
masterOperationin classTransportMasterNodeAction<ClusterStateRequest,ClusterStateResponse>- Throws:
java.io.IOException
-
-