Package com.mchange.v1.cachedstore
Interface TweakableCachedStore
-
- All Superinterfaces:
CachedStore
public interface TweakableCachedStore extends CachedStore
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.mchange.v1.cachedstore.CachedStore
CachedStore.Manager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.IteratorcachedKeys()java.lang.ObjectgetCachedValue(java.lang.Object key)voidremoveFromCache(java.lang.Object key)voidsetCachedValue(java.lang.Object key, java.lang.Object value)-
Methods inherited from interface com.mchange.v1.cachedstore.CachedStore
find, reset
-
-
-
-
Method Detail
-
getCachedValue
java.lang.Object getCachedValue(java.lang.Object key) throws CachedStoreException- Returns:
- null if the value for this key is not cached
- Throws:
CachedStoreException
-
removeFromCache
void removeFromCache(java.lang.Object key) throws CachedStoreException- Throws:
CachedStoreException
-
setCachedValue
void setCachedValue(java.lang.Object key, java.lang.Object value) throws CachedStoreException- Throws:
CachedStoreException
-
cachedKeys
java.util.Iterator cachedKeys() throws CachedStoreException- Throws:
CachedStoreException
-
-