Class TransportClearSecurityCacheAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.Node,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node>
org.elasticsearch.xpack.security.action.TransportClearSecurityCacheAction
public class TransportClearSecurityCacheAction
extends org.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.Node,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node>
Clears a security cache by name (with optional keys).
- See Also:
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
clusterService, nodeResponseClass, threadPool, transportNodeAction, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportClearSecurityCacheAction(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, CacheInvalidatorRegistry cacheInvalidatorRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.NodenewNodeRequest(org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest request) protected org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.NodenewNodeResponse(org.elasticsearch.common.io.stream.StreamInput in, org.elasticsearch.cluster.node.DiscoveryNode node) protected org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponsenewResponse(org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest request, List<org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node> nodes, List<org.elasticsearch.action.FailedNodeException> failures) protected org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.NodenodeOperation(org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.Node request, org.elasticsearch.tasks.Task task) Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, getTransportNodeAction, newResponseAsync, resolveRequestMethods inherited from class org.elasticsearch.action.support.TransportAction
execute
-
Constructor Details
-
TransportClearSecurityCacheAction
@Inject public TransportClearSecurityCacheAction(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, CacheInvalidatorRegistry cacheInvalidatorRegistry)
-
-
Method Details
-
newResponse
protected org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse newResponse(org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest request, List<org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node> nodes, List<org.elasticsearch.action.FailedNodeException> failures) - Specified by:
newResponsein classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse, org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.Node, org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node>
-
newNodeRequest
protected org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.Node newNodeRequest(org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest request) - Specified by:
newNodeRequestin classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse, org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.Node, org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node>
-
newNodeResponse
protected org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node newNodeResponse(org.elasticsearch.common.io.stream.StreamInput in, org.elasticsearch.cluster.node.DiscoveryNode node) throws IOException - Specified by:
newNodeResponsein classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse, org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.Node, org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node> - Throws:
IOException
-
nodeOperation
protected org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node nodeOperation(org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.Node request, org.elasticsearch.tasks.Task task) - Specified by:
nodeOperationin classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest,org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse, org.elasticsearch.xpack.core.security.action.ClearSecurityCacheRequest.Node, org.elasticsearch.xpack.core.security.action.ClearSecurityCacheResponse.Node>
-