Class ClearRealmCacheRequest
- java.lang.Object
-
- org.elasticsearch.client.security.ClearRealmCacheRequest
-
- All Implemented Interfaces:
Validatable
public final class ClearRealmCacheRequest extends java.lang.Object implements Validatable
Request for clearing the cache of one or more realms
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
Constructor Summary
Constructors Constructor Description ClearRealmCacheRequest(java.util.List<java.lang.String> realms, java.util.List<java.lang.String> usernames)
Create a new request to clear cache of realms
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
getRealms()
java.util.List<java.lang.String>
getUsernames()
-
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 Detail
-
ClearRealmCacheRequest
public ClearRealmCacheRequest(java.util.List<java.lang.String> realms, java.util.List<java.lang.String> usernames)
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.
-
-