类 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.
  • 方法概要

    修饰符和类型 方法 说明
    boolean equals​(java.lang.Object o)  
    int hashCode()  
    java.lang.String[] names()  

    从类继承的方法 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 null if all
    • equals

      public boolean equals​(java.lang.Object o)
      覆盖:
      equals 在类中 java.lang.Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 java.lang.Object