Module org.elasticsearch.server
Class TransportClusterGetSettingsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<ClusterGetSettingsAction.Request,ClusterGetSettingsAction.Response>
org.elasticsearch.action.support.local.TransportLocalClusterStateAction<ClusterGetSettingsAction.Request,ClusterGetSettingsAction.Response>
org.elasticsearch.action.admin.cluster.settings.TransportClusterGetSettingsAction
public class TransportClusterGetSettingsAction
extends TransportLocalClusterStateAction<ClusterGetSettingsAction.Request,ClusterGetSettingsAction.Response>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.local.TransportLocalClusterStateAction
clusterService, executorFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportClusterGetSettingsAction(TransportService transportService, ClusterService clusterService, SettingsFilter settingsFilter, ActionFilters actionFilters) NB prior to 9.0 this was a TransportMasterNodeReadAction so for BwC it must be registered with the TransportService until we no longer need to support calling this action remotely. -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(ClusterGetSettingsAction.Request request, ClusterState state) protected voidlocalClusterStateOperation(Task task, ClusterGetSettingsAction.Request request, ClusterState state, ActionListener<ClusterGetSettingsAction.Response> listener) Methods inherited from class org.elasticsearch.action.support.local.TransportLocalClusterStateAction
doExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportClusterGetSettingsAction
@Inject public TransportClusterGetSettingsAction(TransportService transportService, ClusterService clusterService, SettingsFilter settingsFilter, ActionFilters actionFilters) NB prior to 9.0 this was a TransportMasterNodeReadAction so for BwC it must be registered with the TransportService until we no longer need to support calling this action remotely.
-
-
Method Details
-
localClusterStateOperation
protected void localClusterStateOperation(Task task, ClusterGetSettingsAction.Request request, ClusterState state, ActionListener<ClusterGetSettingsAction.Response> listener) throws Exception - Specified by:
localClusterStateOperationin classTransportLocalClusterStateAction<ClusterGetSettingsAction.Request,ClusterGetSettingsAction.Response> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(ClusterGetSettingsAction.Request request, ClusterState state) - Specified by:
checkBlockin classTransportLocalClusterStateAction<ClusterGetSettingsAction.Request,ClusterGetSettingsAction.Response>
-