Class TransportMasterNodeReadAction<Request extends MasterNodeReadRequest<Request>,Response extends ActionResponse>
java.lang.Object
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.
-
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
-
Constructor Summary
Constructors Modifier Constructor Description 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, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
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, read
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
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, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
localExecute
- Overrides:
localExecute
in classTransportMasterNodeAction<Request extends MasterNodeReadRequest<Request>,Response extends ActionResponse>
-