类 ClearRolesCacheRequest
java.lang.Object
org.easysearch.client.security.ClearRolesCacheRequest
- 所有已实现的接口:
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.
-
字段概要
从接口继承的字段 org.easysearch.client.Validatable
EMPTY -
构造器概要
构造器 构造器 说明 ClearRolesCacheRequest(java.lang.String... names)Sets the roles for which caches will be evicted. -
方法概要
从类继承的方法 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.easysearch.client.Validatable
validate
-
构造器详细资料
-
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.- 参数:
names- The role names
-
-
方法详细资料
-
names
public java.lang.String[] names()- 返回:
- an array of role names that will have the cache evicted or
nullif all
-
equals
public boolean equals(java.lang.Object o)- 覆盖:
equals在类中java.lang.Object
-
hashCode
public int hashCode()- 覆盖:
hashCode在类中java.lang.Object
-