Class TransportClusterInfoAction<Request extends ClusterInfoRequest<Request>,Response extends ActionResponse>
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.HandledTransportAction<Request,Response>
-
- org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,Response>
-
- org.elasticsearch.action.support.master.TransportMasterNodeReadAction<Request,Response>
-
- org.elasticsearch.action.support.master.info.TransportClusterInfoAction<Request,Response>
-
- Direct Known Subclasses:
TransportGetIndexAction
,TransportGetMappingsAction
public abstract class TransportClusterInfoAction<Request extends ClusterInfoRequest<Request>,Response extends ActionResponse> extends TransportMasterNodeReadAction<Request,Response>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
deprecationLogger, logger, settings
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, transportService
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
FORCE_LOCAL_SETTING
-
-
Constructor Summary
Constructors Constructor Description TransportClusterInfoAction(Settings settings, java.lang.String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<Request> request)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doMasterOperation(Request request, java.lang.String[] concreteIndices, ClusterState state, ActionListener<Response> listener)
protected java.lang.String
executor()
protected void
masterOperation(Request request, ClusterState state, ActionListener<Response> listener)
-
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
logDeprecatedSetting, logRemovedSetting, nodeName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute, execute
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
checkBlock, doExecute, doExecute, getMasterActionName, masterOperation, newResponse
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecute
-
-
-
-
Constructor Detail
-
TransportClusterInfoAction
public TransportClusterInfoAction(Settings settings, java.lang.String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<Request> request)
-
-
Method Detail
-
executor
protected java.lang.String executor()
- Specified by:
executor
in classTransportMasterNodeAction<Request extends ClusterInfoRequest<Request>,Response extends ActionResponse>
-
masterOperation
protected final void masterOperation(Request request, ClusterState state, ActionListener<Response> listener)
- Specified by:
masterOperation
in classTransportMasterNodeAction<Request extends ClusterInfoRequest<Request>,Response extends ActionResponse>
-
doMasterOperation
protected abstract void doMasterOperation(Request request, java.lang.String[] concreteIndices, ClusterState state, ActionListener<Response> listener)
-
-