Module org.elasticsearch.server
Class TransportClusterHealthAction
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<ClusterHealthRequest,ClusterHealthResponse>
org.elasticsearch.action.admin.cluster.health.TransportClusterHealthAction
- All Implemented Interfaces:
ActionWithReservedState<ClusterHealthRequest>
public class TransportClusterHealthAction
extends TransportMasterNodeReadAction<ClusterHealthRequest,ClusterHealthResponse>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final ActionType<ClusterHealthResponse>
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, taskManager
-
Constructor Summary
ConstructorDescriptionTransportClusterHealthAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, AllocationService allocationService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(ClusterHealthRequest request, ClusterState state) protected void
masterOperation
(Task task, ClusterHealthRequest request, ClusterState unusedState, ActionListener<ClusterHealthResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecute
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, localOnly
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<ClusterHealthRequest,
ClusterHealthResponse>
-
masterOperation
protected void masterOperation(Task task, ClusterHealthRequest request, ClusterState unusedState, ActionListener<ClusterHealthResponse> listener) - Specified by:
masterOperation
in classTransportMasterNodeAction<ClusterHealthRequest,
ClusterHealthResponse>
-