类 ClearPrivilegesCacheRequest

java.lang.Object
org.easysearch.client.security.ClearPrivilegesCacheRequest
所有已实现的接口:
Validatable

public final class ClearPrivilegesCacheRequest
extends java.lang.Object
implements Validatable
The request used to clear the cache for native application privileges stored in an index.
  • 字段概要

    从接口继承的字段 org.easysearch.client.Validatable

    EMPTY
  • 构造器概要

    构造器
    构造器 说明
    ClearPrivilegesCacheRequest​(java.lang.String... applications)
    Sets the applications for which caches will be evicted.
  • 方法概要

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

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.easysearch.client.Validatable

    validate
  • 构造器详细资料

    • ClearPrivilegesCacheRequest

      public ClearPrivilegesCacheRequest​(java.lang.String... applications)
      Sets the applications for which caches will be evicted. When not set all privileges will be evicted from the cache.
      参数:
      applications - The application names
  • 方法详细资料

    • applications

      public java.lang.String[] applications()
      返回:
      an array of application 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