Module org.elasticsearch.server
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>
- All Implemented Interfaces:
ActionWithReservedState<Request>
- Direct Known Subclasses:
TransportClusterHealthAction,TransportClusterSearchShardsAction,TransportClusterStateAction,TransportGetAllocationStatsAction,TransportGetDesiredBalanceAction,TransportGetDesiredNodesAction,TransportGetStoredScriptAction,TransportIndicesShardStoresAction,TransportMasterNodeReadProjectAction,TransportPendingClusterTasksAction,TransportPrevalidateNodeRemovalAction
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, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTransportMasterNodeReadAction(String actionName, boolean canTripCircuitBreaker, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, Writeable.Reader<Response> response, Executor executor) protectedTransportMasterNodeReadAction(String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, Writeable.Reader<Response> response, Executor executor) -
Method Summary
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
checkBlock, doExecute, masterOperation, validateForReservedStateMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportMasterNodeReadAction
protected TransportMasterNodeReadAction(String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, Writeable.Reader<Response> response, Executor executor) -
TransportMasterNodeReadAction
protected TransportMasterNodeReadAction(String actionName, boolean canTripCircuitBreaker, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, Writeable.Reader<Response> response, Executor executor)
-
-
Method Details
-
localExecute
- Overrides:
localExecutein classTransportMasterNodeAction<Request extends MasterNodeReadRequest<Request>,Response extends ActionResponse>
-