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
public class TransportClusterHealthAction
extends TransportMasterNodeReadAction<ClusterHealthRequest,ClusterHealthResponse>
-
Field Summary
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
-
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>
-