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>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.action.support.HandledTransportAction
HandledTransportAction.ChannelActionListener<Response extends TransportResponse,Request extends TransportRequest>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
FORCE_LOCAL_SETTING
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
logger
-
-
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.action.support.master.TransportMasterNodeReadAction
localExecute
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
checkBlock, doExecute, doExecute, getMasterActionName, masterOperation, newResponse, read
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute, execute
-
-
-
-
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)
-
-