Interface CacheConfig


public interface CacheConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If set to true, request to the LDAP server are cached
    The duration that an entry can stay in the cache
    int
    The maximum number of entries to keep in the cache
     
  • Method Details

    • enabled

      @WithDefault("false") boolean enabled()
      If set to true, request to the LDAP server are cached
    • maxAge

      @WithDefault("60s") Duration maxAge()
      The duration that an entry can stay in the cache
    • size

      @WithDefault("100") int size()
      The maximum number of entries to keep in the cache
    • toString

      String toString()
      Overrides:
      toString in class Object