public abstract class TransportClusterInfoAction<Request extends ClusterInfoRequest,Response extends ActionResponse> extends TransportMasterNodeReadOperationAction<Request,Response>
FORCE_LOCAL_SETTINGclusterService, transportServiceactionName, threadPoolcomponentSettings, logger, settings| Constructor and Description |
|---|
TransportClusterInfoAction(Settings settings,
String actionName,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
ActionFilters actionFilters) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doMasterOperation(Request request,
String[] concreteIndices,
ClusterState state,
ActionListener<Response> listener) |
protected String |
executor() |
protected void |
masterOperation(Request request,
ClusterState state,
ActionListener<Response> listener) |
localExecutecheckBlock, doExecute, forceThreadedListener, newRequest, newResponse, processBeforeDelegationToMasterexecute, executenodeNamepublic TransportClusterInfoAction(Settings settings, String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters)
protected String executor()
executor in class TransportMasterNodeOperationAction<Request extends ClusterInfoRequest,Response extends ActionResponse>protected final void masterOperation(Request request, ClusterState state, ActionListener<Response> listener) throws ElasticsearchException
masterOperation in class TransportMasterNodeOperationAction<Request extends ClusterInfoRequest,Response extends ActionResponse>ElasticsearchExceptionprotected abstract void doMasterOperation(Request request, String[] concreteIndices, ClusterState state, ActionListener<Response> listener) throws ElasticsearchException
ElasticsearchExceptionCopyright © 2009–2016. All rights reserved.