Class ResolutionCache


  • public class ResolutionCache
    extends Object
    Resolution cache.
    Since:
    3.0.0
    Author:
    Boni Garcia
    • Constructor Detail

      • ResolutionCache

        public ResolutionCache​(Config config)
    • Method Detail

      • getValueFromResolutionCache

        public String getValueFromResolutionCache​(String key)
      • putValueInResolutionCacheIfEmpty

        public void putValueInResolutionCacheIfEmpty​(String key,
                                                     String value,
                                                     int ttl)
      • clear

        public void clear()
      • checkKeyInResolutionCache

        public boolean checkKeyInResolutionCache​(String key)
      • checkKeyInResolutionCache

        public boolean checkKeyInResolutionCache​(String key,
                                                 boolean showLog)