public abstract class ConfigCache
extends java.lang.Object
ConfigCatClient.| Constructor and Description |
|---|
ConfigCache() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
read(java.lang.String key)
Child classes has to implement this method, the
ConfigCatClient
uses it to get the actual value from the cache. |
protected abstract void |
write(java.lang.String key,
java.lang.String value)
* Child classes has to implement this method, the
ConfigCatClient
uses it to set the actual cached value. |
protected abstract java.lang.String read(java.lang.String key)
throws java.lang.Exception
ConfigCatClient
uses it to get the actual value from the cache.key - the key of the cache entry.java.lang.Exception - if unable to read the cache.protected abstract void write(java.lang.String key,
java.lang.String value)
throws java.lang.Exception
ConfigCatClient
uses it to set the actual cached value.key - the key of the cache entry.value - the new value to cache.java.lang.Exception - if unable to save the value.