Class ClearRolesCacheRequest
java.lang.Object
org.elasticsearch.client.security.ClearRolesCacheRequest
- All Implemented Interfaces:
Validatable
public final class ClearRolesCacheRequest extends java.lang.Object implements Validatable
The request used to clear the cache for native roles stored in an index.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ClearRolesCacheRequest(java.lang.String... names)
Sets the roles for which caches will be evicted. -
Method Summary
-
Constructor Details
-
ClearRolesCacheRequest
public ClearRolesCacheRequest(java.lang.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
-
-
Method Details