Class TransportClearPrivilegesCacheAction
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.privilege.ClearPrivilegesCacheRequest,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.Node,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.Node>
org.elasticsearch.xpack.security.action.privilege.TransportClearPrivilegesCacheAction
public class TransportClearPrivilegesCacheAction
extends org.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.Node,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.Node>
-
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
ConstructorsConstructorDescriptionTransportClearPrivilegesCacheAction(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, CompositeRolesStore rolesStore, CacheInvalidatorRegistry cacheInvalidatorRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.NodenewNodeRequest(org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest request) protected org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.NodenewNodeResponse(org.elasticsearch.common.io.stream.StreamInput in, org.elasticsearch.cluster.node.DiscoveryNode node) protected org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponsenewResponse(org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest request, List<org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.Node> nodes, List<org.elasticsearch.action.FailedNodeException> failures) protected org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.NodenodeOperation(org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.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
-
TransportClearPrivilegesCacheAction
@Inject public TransportClearPrivilegesCacheAction(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, CompositeRolesStore rolesStore, CacheInvalidatorRegistry cacheInvalidatorRegistry)
-
-
Method Details
-
newResponse
protected org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse newResponse(org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest request, List<org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.Node> nodes, List<org.elasticsearch.action.FailedNodeException> failures) - Specified by:
newResponsein classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse, org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.Node, org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.Node>
-
newNodeRequest
protected org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.Node newNodeRequest(org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest request) - Specified by:
newNodeRequestin classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse, org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.Node, org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.Node>
-
newNodeResponse
protected org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.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.privilege.ClearPrivilegesCacheRequest,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse, org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.Node, org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.Node> - Throws:
IOException
-
nodeOperation
protected org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.Node nodeOperation(org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.Node request, org.elasticsearch.tasks.Task task) - Specified by:
nodeOperationin classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest,org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse, org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheRequest.Node, org.elasticsearch.xpack.core.security.action.privilege.ClearPrivilegesCacheResponse.Node>
-