Class ClearRealmCacheRequest
java.lang.Object
org.elasticsearch.client.security.ClearRealmCacheRequest
- All Implemented Interfaces:
Validatable
Request for clearing the cache of one or more realms
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
ConstructorDescriptionClearRealmCacheRequest
(List<String> realms, List<String> usernames) Create a new request to clear cache of realms -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
ClearRealmCacheRequest
Create a new request to clear cache of realms- Parameters:
realms
- the realms to clear the cache of. Must not benull
. An empty list indicates that all realms should have their caches cleared.usernames
- the usernames to clear the cache of. Must not benull
. An empty list indicates that every user in the listed realms should have their cache cleared.
-
-
Method Details
-
getRealms
-
getUsernames
-