public class TransportClusterHealthAction extends TransportMasterNodeReadAction<ClusterHealthRequest,ClusterHealthResponse>
FORCE_LOCAL_SETTINGclusterService, transportServiceactionName, indexNameExpressionResolver, parseFieldMatcher, taskManager, threadPooldeprecationLogger, logger, settings| Constructor and Description |
|---|
TransportClusterHealthAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
ClusterName clusterName,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver,
GatewayAllocator gatewayAllocator) |
| Modifier and Type | Method and Description |
|---|---|
protected ClusterBlockException |
checkBlock(ClusterHealthRequest request,
ClusterState state) |
protected String |
executor() |
protected void |
masterOperation(ClusterHealthRequest request,
ClusterState state,
ActionListener<ClusterHealthResponse> listener) |
protected void |
masterOperation(Task task,
ClusterHealthRequest request,
ClusterState unusedState,
ActionListener<ClusterHealthResponse> listener)
Override this operation if access to the task parameter is needed
|
protected ClusterHealthResponse |
newResponse() |
localExecutedoExecute, doExecuteexecute, execute, execute, executelogDeprecatedSetting, logRemovedSetting, nodeName@Inject public TransportClusterHealthAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ClusterName clusterName, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, GatewayAllocator gatewayAllocator)
protected String executor()
executor in class TransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>protected ClusterBlockException checkBlock(ClusterHealthRequest request, ClusterState state)
checkBlock in class TransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>protected ClusterHealthResponse newResponse()
newResponse in class TransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>protected final void masterOperation(ClusterHealthRequest request, ClusterState state, ActionListener<ClusterHealthResponse> listener) throws Exception
masterOperation in class TransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>Exceptionprotected void masterOperation(Task task, ClusterHealthRequest request, ClusterState unusedState, ActionListener<ClusterHealthResponse> listener)
TransportMasterNodeActionmasterOperation in class TransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>Copyright © 2009–2017. All rights reserved.