Class TransportUpgradeSettingsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<UpgradeSettingsRequest,AcknowledgedResponse>
org.elasticsearch.action.admin.indices.upgrade.post.TransportUpgradeSettingsAction
public class TransportUpgradeSettingsAction extends TransportMasterNodeAction<UpgradeSettingsRequest,AcknowledgedResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
Constructors Constructor Description TransportUpgradeSettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataUpdateSettingsService updateSettingsService, IndexNameExpressionResolver indexNameExpressionResolver, ActionFilters actionFilters)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockException
checkBlock(UpgradeSettingsRequest request, ClusterState state)
protected java.lang.String
executor()
protected void
masterOperation(UpgradeSettingsRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)
protected AcknowledgedResponse
read(StreamInput in)
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperation
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportUpgradeSettingsAction
@Inject public TransportUpgradeSettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataUpdateSettingsService updateSettingsService, IndexNameExpressionResolver indexNameExpressionResolver, ActionFilters actionFilters)
-
-
Method Details
-
executor
protected java.lang.String executor()- Specified by:
executor
in classTransportMasterNodeAction<UpgradeSettingsRequest,AcknowledgedResponse>
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<UpgradeSettingsRequest,AcknowledgedResponse>
-
read
- Specified by:
read
in classTransportMasterNodeAction<UpgradeSettingsRequest,AcknowledgedResponse>
- Throws:
java.io.IOException
-
masterOperation
protected void masterOperation(UpgradeSettingsRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<UpgradeSettingsRequest,AcknowledgedResponse>
-