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, transportServiceFields 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
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperationMethods 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
-
executor
protected java.lang.String executor()- Specified by:
executorin classTransportMasterNodeAction<ClusterStateRequest,ClusterStateResponse>
-
read
- Specified by:
readin classTransportMasterNodeAction<ClusterStateRequest,ClusterStateResponse>- Throws:
java.io.IOException
-
checkBlock
- 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
-