Module org.elasticsearch.server
Class TransportSnapshottableFeaturesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetSnapshottableFeaturesRequest,GetSnapshottableFeaturesResponse>
org.elasticsearch.action.support.HandledTransportAction<GetSnapshottableFeaturesRequest,GetSnapshottableFeaturesResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetSnapshottableFeaturesRequest,GetSnapshottableFeaturesResponse>
org.elasticsearch.action.admin.cluster.snapshots.features.TransportSnapshottableFeaturesAction
- All Implemented Interfaces:
ActionWithReservedState<GetSnapshottableFeaturesRequest>
public class TransportSnapshottableFeaturesAction
extends TransportMasterNodeAction<GetSnapshottableFeaturesRequest,GetSnapshottableFeaturesResponse>
-
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
ConstructorsConstructorDescriptionTransportSnapshottableFeaturesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, SystemIndices systemIndices) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(GetSnapshottableFeaturesRequest request, ClusterState state) protected voidmasterOperation(Task task, GetSnapshottableFeaturesRequest request, ClusterState state, ActionListener<GetSnapshottableFeaturesResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods 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
-
TransportSnapshottableFeaturesAction
@Inject public TransportSnapshottableFeaturesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, SystemIndices systemIndices)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, GetSnapshottableFeaturesRequest request, ClusterState state, ActionListener<GetSnapshottableFeaturesResponse> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<GetSnapshottableFeaturesRequest,GetSnapshottableFeaturesResponse> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(GetSnapshottableFeaturesRequest request, ClusterState state) - Specified by:
checkBlockin classTransportMasterNodeAction<GetSnapshottableFeaturesRequest,GetSnapshottableFeaturesResponse>
-