Module org.elasticsearch.xcore
Class ClearRealmCacheRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.nodes.BaseNodesRequest
org.elasticsearch.xpack.core.security.action.realm.ClearRealmCacheRequest
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodesRequest
nodesIds, setTimeout, timeout, validate, writeToMethods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, getRequestId, setParentTask, setRequestId, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
ClearRealmCacheRequest
public ClearRealmCacheRequest()
-
-
Method Details
-
allRealms
public boolean allRealms()- Returns:
trueif this request targets realms,falseotherwise.
-
realms
- Returns:
- The realms that should be evicted. Empty array indicates all realms.
-
realms
Sets the realms for which caches will be evicted. When not set all the caches of all realms will be evicted.- Parameters:
realms- The realm names
-
allUsernames
public boolean allUsernames()- Returns:
trueif this request targets users,falseotherwise.
-
usernames
- Returns:
- The usernames of the users that should be evicted. Empty array indicates all users.
-
usernames
Sets the usernames of the users that should be evicted from the caches. When not set, all users will be evicted.- Parameters:
usernames- The usernames
-