Class TransportUpdateSettingsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<UpdateSettingsRequest>
org.elasticsearch.action.admin.indices.settings.put.TransportUpdateSettingsAction
public class TransportUpdateSettingsAction
extends AcknowledgedTransportMasterNodeAction<UpdateSettingsRequest>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportUpdateSettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataUpdateSettingsService updateSettingsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, SystemIndices systemIndices)
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock(UpdateSettingsRequest request, ClusterState state)
protected void
masterOperation(UpdateSettingsRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)
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
-
TransportUpdateSettingsAction
@Inject public TransportUpdateSettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataUpdateSettingsService updateSettingsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, SystemIndices systemIndices)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<UpdateSettingsRequest,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(UpdateSettingsRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<UpdateSettingsRequest,AcknowledgedResponse>
-