Class ClearPrivilegesCacheRequest

java.lang.Object
org.elasticsearch.client.security.ClearPrivilegesCacheRequest
All Implemented Interfaces:
Validatable

public final class ClearPrivilegesCacheRequest extends Object implements Validatable
The request used to clear the cache for native application privileges stored in an index.
  • Constructor Details

    • ClearPrivilegesCacheRequest

      public ClearPrivilegesCacheRequest(String... applications)
      Sets the applications for which caches will be evicted. When not set all privileges will be evicted from the cache.
      Parameters:
      applications - The application names
  • Method Details

    • applications

      public String[] applications()
      Returns:
      an array of application names that will have the cache evicted or null if all
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object