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 boolean
checkKeyInResolutionCache(String key)
boolean
checkKeyInResolutionCache(String key, boolean showLog)
void
clear()
String
getValueFromResolutionCache(String key)
void
putValueInResolutionCacheIfEmpty(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)
-
-