public class TransportClusterHealthAction extends TransportMasterNodeReadOperationAction<ClusterHealthRequest,ClusterHealthResponse>
FORCE_LOCAL_SETTINGclusterService, transportServiceactionName, threadPoolcomponentSettings, logger, settings| Constructor and Description |
|---|
TransportClusterHealthAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
ClusterName clusterName,
ActionFilters actionFilters,
LocalGatewayAllocator gatewayAllocator) |
| Modifier and Type | Method and Description |
|---|---|
protected ClusterBlockException |
checkBlock(ClusterHealthRequest request,
ClusterState state) |
protected String |
executor() |
protected void |
masterOperation(ClusterHealthRequest request,
ClusterState unusedState,
ActionListener<ClusterHealthResponse> listener) |
protected ClusterHealthRequest |
newRequest() |
protected ClusterHealthResponse |
newResponse() |
localExecutedoExecute, forceThreadedListener, processBeforeDelegationToMasterexecute, executenodeName@Inject public TransportClusterHealthAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ClusterName clusterName, ActionFilters actionFilters, LocalGatewayAllocator gatewayAllocator)
protected String executor()
executor in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>protected ClusterBlockException checkBlock(ClusterHealthRequest request, ClusterState state)
checkBlock in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>protected ClusterHealthRequest newRequest()
newRequest in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>protected ClusterHealthResponse newResponse()
newResponse in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>protected void masterOperation(ClusterHealthRequest request, ClusterState unusedState, ActionListener<ClusterHealthResponse> listener) throws ElasticsearchException
masterOperation in class TransportMasterNodeOperationAction<ClusterHealthRequest,ClusterHealthResponse>ElasticsearchExceptionCopyright © 2009–2016. All rights reserved.