public abstract class TransportClusterInfoAction<Request extends ClusterInfoRequest,Response extends ActionResponse> extends TransportMasterNodeReadOperationAction<Request,Response>
FORCE_LOCAL_SETTING
clusterService, transportService
actionName, threadPool
componentSettings, 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) |
localExecute
checkBlock, doExecute, forceThreadedListener, newRequest, newResponse, processBeforeDelegationToMaster
execute, execute
nodeName
public 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>
ElasticsearchException
protected abstract void doMasterOperation(Request request, String[] concreteIndices, ClusterState state, ActionListener<Response> listener) throws ElasticsearchException
ElasticsearchException
Copyright © 2009–2015. All rights reserved.