public class TransportClusterHealthAction extends TransportMasterNodeReadAction<ClusterHealthRequest,ClusterHealthResponse>
deprecationLogger, logger, settings
actionName, indexNameExpressionResolver, taskManager, threadPool
clusterService, transportService
FORCE_LOCAL_SETTING
Constructor | Description |
---|---|
TransportClusterHealthAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver,
GatewayAllocator gatewayAllocator) |
Modifier and Type | Method | Description |
---|---|---|
protected ClusterBlockException |
checkBlock(ClusterHealthRequest request,
ClusterState state) |
|
protected java.lang.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() |
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, execute, execute, execute
doExecute, doExecute, getMasterActionName
localExecute
@Inject public TransportClusterHealthAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, GatewayAllocator gatewayAllocator)
protected java.lang.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 java.lang.Exception
masterOperation
in class TransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>
java.lang.Exception
protected void masterOperation(Task task, ClusterHealthRequest request, ClusterState unusedState, ActionListener<ClusterHealthResponse> listener)
TransportMasterNodeAction
masterOperation
in class TransportMasterNodeAction<ClusterHealthRequest,ClusterHealthResponse>