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<UpdateSettingsRequest,AcknowledgedResponse>
org.elasticsearch.action.admin.indices.settings.put.TransportUpdateSettingsAction
public class TransportUpdateSettingsAction extends TransportMasterNodeAction<UpdateSettingsRequest,AcknowledgedResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
Constructors Constructor Description TransportUpdateSettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataUpdateSettingsService updateSettingsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(UpdateSettingsRequest request, ClusterState state)protected java.lang.Stringexecutor()protected voidmasterOperation(UpdateSettingsRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)protected AcknowledgedResponseread(StreamInput in)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
-
TransportUpdateSettingsAction
@Inject public TransportUpdateSettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataUpdateSettingsService updateSettingsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
executor
protected java.lang.String executor()- Specified by:
executorin classTransportMasterNodeAction<UpdateSettingsRequest,AcknowledgedResponse>
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<UpdateSettingsRequest,AcknowledgedResponse>
-
read
- Specified by:
readin classTransportMasterNodeAction<UpdateSettingsRequest,AcknowledgedResponse>- Throws:
java.io.IOException
-
masterOperation
protected void masterOperation(UpdateSettingsRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)- Specified by:
masterOperationin classTransportMasterNodeAction<UpdateSettingsRequest,AcknowledgedResponse>
-