Class TransportClusterUpdateSettingsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>
org.elasticsearch.action.admin.cluster.settings.TransportClusterUpdateSettingsAction
public class TransportClusterUpdateSettingsAction extends TransportMasterNodeAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>
-
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 TransportClusterUpdateSettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, AllocationService allocationService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, ClusterSettings clusterSettings)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockException
checkBlock(ClusterUpdateSettingsRequest request, ClusterState state)
protected java.lang.String
executor()
protected void
masterOperation(ClusterUpdateSettingsRequest request, ClusterState state, ActionListener<ClusterUpdateSettingsResponse> listener)
protected ClusterUpdateSettingsResponse
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
-
TransportClusterUpdateSettingsAction
@Inject public TransportClusterUpdateSettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, AllocationService allocationService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, ClusterSettings clusterSettings)
-
-
Method Details
-
executor
protected java.lang.String executor()- Specified by:
executor
in classTransportMasterNodeAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>
-
checkBlock
protected ClusterBlockException checkBlock(ClusterUpdateSettingsRequest request, ClusterState state)- Specified by:
checkBlock
in classTransportMasterNodeAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>
-
read
- Specified by:
read
in classTransportMasterNodeAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>
- Throws:
java.io.IOException
-
masterOperation
protected void masterOperation(ClusterUpdateSettingsRequest request, ClusterState state, ActionListener<ClusterUpdateSettingsResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse>
-