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,TransportGetComponentTemplateAction,TransportGetComposableIndexTemplateAction,TransportGetIndexTemplatesAction,TransportGetRepositoriesAction,TransportGetSettingsAction,TransportGetStoredScriptAction,TransportIndicesExistsAction,TransportIndicesShardStoresAction,TransportPendingClusterTasksAction,TransportSimulateIndexTemplateAction,TransportSimulateTemplateAction,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, executor, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager -
Constructor Summary
Constructors Modifier Constructor Description protectedTransportMasterNodeReadAction(java.lang.String actionName, boolean checkSizeLimit, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Response> response, java.lang.String executor)protectedTransportMasterNodeReadAction(java.lang.String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Response> response, java.lang.String executor) -
Method Summary
Modifier and Type Method Description protected booleanlocalExecute(Request request)Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
checkBlock, doExecute, getMasterActionName, masterOperation, masterOperationMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TransportMasterNodeReadAction
protected TransportMasterNodeReadAction(java.lang.String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Response> response, java.lang.String executor) -
TransportMasterNodeReadAction
protected TransportMasterNodeReadAction(java.lang.String actionName, boolean checkSizeLimit, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Response> response, java.lang.String executor)
-
-
Method Details
-
localExecute
- Overrides:
localExecutein classTransportMasterNodeAction<Request extends MasterNodeReadRequest<Request>,Response extends ActionResponse>
-