Class TransportGetFeatureUpgradeStatusAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetFeatureUpgradeStatusRequest,GetFeatureUpgradeStatusResponse>
org.elasticsearch.action.admin.cluster.migration.TransportGetFeatureUpgradeStatusAction
public class TransportGetFeatureUpgradeStatusAction
extends TransportMasterNodeAction<GetFeatureUpgradeStatusRequest,GetFeatureUpgradeStatusResponse>
Transport class for the get feature upgrade status action
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionTransportGetFeatureUpgradeStatusAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, ClusterService clusterService, IndexNameExpressionResolver indexNameExpressionResolver, PersistentTasksService persistentTasksService, SystemIndices systemIndices) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(GetFeatureUpgradeStatusRequest request, ClusterState state) protected voidmasterOperation(GetFeatureUpgradeStatusRequest request, ClusterState state, ActionListener<GetFeatureUpgradeStatusResponse> 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
-
Field Details
-
NO_UPGRADE_REQUIRED_VERSION
-
-
Constructor Details
-
TransportGetFeatureUpgradeStatusAction
@Inject public TransportGetFeatureUpgradeStatusAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, ClusterService clusterService, IndexNameExpressionResolver indexNameExpressionResolver, PersistentTasksService persistentTasksService, SystemIndices systemIndices)
-
-
Method Details
-
masterOperation
protected void masterOperation(GetFeatureUpgradeStatusRequest request, ClusterState state, ActionListener<GetFeatureUpgradeStatusResponse> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<GetFeatureUpgradeStatusRequest,GetFeatureUpgradeStatusResponse> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(GetFeatureUpgradeStatusRequest request, ClusterState state) - Specified by:
checkBlockin classTransportMasterNodeAction<GetFeatureUpgradeStatusRequest,GetFeatureUpgradeStatusResponse>
-