Module org.elasticsearch.security
Class TransportUpdateSecuritySettingsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<UpdateSecuritySettingsAction.Request,AcknowledgedResponse>
org.elasticsearch.action.support.HandledTransportAction<UpdateSecuritySettingsAction.Request,AcknowledgedResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<UpdateSecuritySettingsAction.Request,AcknowledgedResponse>
org.elasticsearch.xpack.security.action.settings.TransportUpdateSecuritySettingsAction
- All Implemented Interfaces:
ActionWithReservedState<UpdateSecuritySettingsAction.Request>
public class TransportUpdateSecuritySettingsAction
extends TransportMasterNodeAction<UpdateSecuritySettingsAction.Request,AcknowledgedResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportUpdateSecuritySettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, MetadataUpdateSettingsService metadataUpdateSettingsService, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(UpdateSecuritySettingsAction.Request request, ClusterState state) protected voidmasterOperation(Task task, UpdateSecuritySettingsAction.Request request, ClusterState state, ActionListener<AcknowledgedResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportUpdateSecuritySettingsAction
@Inject public TransportUpdateSecuritySettingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, MetadataUpdateSettingsService metadataUpdateSettingsService, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, UpdateSecuritySettingsAction.Request request, ClusterState state, ActionListener<AcknowledgedResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<UpdateSecuritySettingsAction.Request,AcknowledgedResponse>
-
checkBlock
protected ClusterBlockException checkBlock(UpdateSecuritySettingsAction.Request request, ClusterState state) - Specified by:
checkBlockin classTransportMasterNodeAction<UpdateSecuritySettingsAction.Request,AcknowledgedResponse>
-