Class ClearRealmCacheRequest

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

public final class ClearRealmCacheRequest extends Object implements Validatable
Request for clearing the cache of one or more realms
  • Constructor Details

    • ClearRealmCacheRequest

      public ClearRealmCacheRequest(List<String> realms, List<String> usernames)
      Create a new request to clear cache of realms
      Parameters:
      realms - the realms to clear the cache of. Must not be null. An empty list indicates that all realms should have their caches cleared.
      usernames - the usernames to clear the cache of. Must not be null. An empty list indicates that every user in the listed realms should have their cache cleared.
  • Method Details