Class TransportSnapshottableFeaturesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetSnapshottableFeaturesRequest,GetSnapshottableFeaturesResponse>
org.elasticsearch.action.admin.cluster.snapshots.features.TransportSnapshottableFeaturesAction
public class TransportSnapshottableFeaturesAction
extends TransportMasterNodeAction<GetSnapshottableFeaturesRequest,GetSnapshottableFeaturesResponse>
-
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
ConstructorsConstructorDescriptionTransportSnapshottableFeaturesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, SystemIndices systemIndices) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(GetSnapshottableFeaturesRequest request, ClusterState state)protected voidmasterOperation(GetSnapshottableFeaturesRequest request, ClusterState state, ActionListener<GetSnapshottableFeaturesResponse> listener)Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperationMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportSnapshottableFeaturesAction
@Inject public TransportSnapshottableFeaturesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, SystemIndices systemIndices)
-
-
Method Details
-
masterOperation
protected void masterOperation(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>
-