Package io.github.bonigarcia.wdm.cache
Class ResolutionCache
- java.lang.Object
-
- io.github.bonigarcia.wdm.cache.ResolutionCache
-
public class ResolutionCache extends Object
Resolution cache.- Since:
- 3.0.0
- Author:
- Boni Garcia
-
-
Constructor Summary
Constructors Constructor Description ResolutionCache(Config config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckKeyInResolutionCache(String key)booleancheckKeyInResolutionCache(String key, boolean showLog)voidclear()StringgetValueFromResolutionCache(String key)voidputValueInResolutionCacheIfEmpty(String key, String value, int ttl)
-
-
-
Constructor Detail
-
ResolutionCache
public ResolutionCache(Config config)
-
-
Method Detail
-
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)
-
-