Module org.elasticsearch.server
Class TransportClusterHealthAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<ClusterHealthRequest,ClusterHealthResponse>
org.elasticsearch.action.support.HandledTransportAction<ClusterHealthRequest,ClusterHealthResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<ClusterHealthRequest,ClusterHealthResponse>
org.elasticsearch.action.admin.cluster.health.TransportClusterHealthAction
- All Implemented Interfaces:
ActionWithReservedState<ClusterHealthRequest>
public class TransportClusterHealthAction
extends TransportMasterNodeReadAction<ClusterHealthRequest,ClusterHealthResponse>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final ActionType<ClusterHealthResponse> Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportClusterHealthAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, AllocationService allocationService, ProjectResolver projectResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(ClusterHealthRequest request, ClusterState state) protected voidmasterOperation(Task task, ClusterHealthRequest request, ClusterState state, ActionListener<ClusterHealthResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, validateForReservedStateMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Field Details
-
NAME
- See Also:
-
TYPE
-
-
Constructor Details
-
TransportClusterHealthAction
@Inject public TransportClusterHealthAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, AllocationService allocationService, ProjectResolver projectResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>
-
masterOperation
protected void masterOperation(Task task, ClusterHealthRequest request, ClusterState state, ActionListener<ClusterHealthResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>
-