Class ClearRolesCacheRequest
- java.lang.Object
-
- org.elasticsearch.client.security.ClearRolesCacheRequest
-
- All Implemented Interfaces:
Validatable
public final class ClearRolesCacheRequest extends Object implements Validatable
The request used to clear the cache for native roles stored in an index.
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
Constructor Summary
Constructors Constructor Description ClearRolesCacheRequest(String... names)Sets the roles for which caches will be evicted.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()String[]names()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
-
-
-
Constructor Detail
-
ClearRolesCacheRequest
public ClearRolesCacheRequest(String... names)
Sets the roles for which caches will be evicted. When not set all the roles will be evicted from the cache.- Parameters:
names- The role names
-
-