Class TransportMasterNodeReadAction<Request extends MasterNodeReadRequest<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>
-
- Direct Known Subclasses:
GetPipelineTransportAction
,TransportAliasesExistAction
,TransportClusterHealthAction
,TransportClusterInfoAction
,TransportClusterSearchShardsAction
,TransportClusterStateAction
,TransportGetAliasesAction
,TransportGetIndexTemplatesAction
,TransportGetRepositoriesAction
,TransportGetSettingsAction
,TransportGetStoredScriptAction
,TransportIndicesExistsAction
,TransportIndicesShardStoresAction
,TransportPendingClusterTasksAction
,TransportTypesExistsAction
public abstract class TransportMasterNodeReadAction<Request extends MasterNodeReadRequest<Request>,Response extends ActionResponse> extends TransportMasterNodeAction<Request,Response>
A base class for read operations that needs to be performed on the master node. Can also be executed on the local node if needed.
-
-
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.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
logger
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TransportMasterNodeReadAction(java.lang.String actionName, boolean checkSizeLimit, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<Request> request)
protected
TransportMasterNodeReadAction(java.lang.String actionName, boolean checkSizeLimit, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver)
protected
TransportMasterNodeReadAction(java.lang.String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<Request> request)
protected
TransportMasterNodeReadAction(java.lang.String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
localExecute(Request request)
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
checkBlock, doExecute, executor, getMasterActionName, masterOperation, masterOperation, newResponse, read
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportMasterNodeReadAction
protected TransportMasterNodeReadAction(java.lang.String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<Request> request)
-
TransportMasterNodeReadAction
protected TransportMasterNodeReadAction(java.lang.String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver)
-
TransportMasterNodeReadAction
protected TransportMasterNodeReadAction(java.lang.String actionName, boolean checkSizeLimit, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<Request> request)
-
TransportMasterNodeReadAction
protected TransportMasterNodeReadAction(java.lang.String actionName, boolean checkSizeLimit, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
localExecute
protected final boolean localExecute(Request request)
- Overrides:
localExecute
in classTransportMasterNodeAction<Request extends MasterNodeReadRequest<Request>,Response extends ActionResponse>
-
-