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, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, 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, masterOperation
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportUpdateSettingsAction
@Inject public TransportUpdateSettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataUpdateSettingsService updateSettingsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
executor
protected java.lang.String executor()
- Specified by:
executorin classTransportMasterNodeAction<UpdateSettingsRequest,AcknowledgedResponse>
-
checkBlock
protected ClusterBlockException checkBlock(UpdateSettingsRequest request, ClusterState state)
- Specified by:
checkBlockin classTransportMasterNodeAction<UpdateSettingsRequest,AcknowledgedResponse>
-
read
protected AcknowledgedResponse read(StreamInput in) throws java.io.IOException
- 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>
-
-