Module org.elasticsearch.server
Class TransportPostFeatureUpgradeAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<PostFeatureUpgradeRequest,PostFeatureUpgradeResponse>
org.elasticsearch.action.admin.cluster.migration.TransportPostFeatureUpgradeAction
- All Implemented Interfaces:
ActionWithReservedState<PostFeatureUpgradeRequest>
public class TransportPostFeatureUpgradeAction
extends TransportMasterNodeAction<PostFeatureUpgradeRequest,PostFeatureUpgradeResponse>
Transport action for post feature upgrade action
-
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, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportPostFeatureUpgradeAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, ClusterService clusterService, IndexNameExpressionResolver indexNameExpressionResolver, SystemIndices systemIndices, PersistentTasksService persistentTasksService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(PostFeatureUpgradeRequest request, ClusterState state) protected voidmasterOperation(Task task, PostFeatureUpgradeRequest request, ClusterState state, ActionListener<PostFeatureUpgradeResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, 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
-
TransportPostFeatureUpgradeAction
@Inject public TransportPostFeatureUpgradeAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, ClusterService clusterService, IndexNameExpressionResolver indexNameExpressionResolver, SystemIndices systemIndices, PersistentTasksService persistentTasksService)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, PostFeatureUpgradeRequest request, ClusterState state, ActionListener<PostFeatureUpgradeResponse> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<PostFeatureUpgradeRequest,PostFeatureUpgradeResponse> - Throws:
Exception
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<PostFeatureUpgradeRequest,PostFeatureUpgradeResponse>
-