Top Fields Constructors Methods
com.mchange.v1.cachedstore

pack-priv abstract Class KeyTransformingCachedStore

extends NoCleanupCachedStore
Class Inheritance
Known Direct Subclasses
com.mchange.v1.cachedstore.ManualCleanupSoftKeyCachedStore
Imports
java.util.Iterator, com.mchange.v1.util.WrapperIterator

Field Summary

Inherited from com.mchange.v1.cachedstore.NoCleanupCachedStore:
cacheDEBUGmanager

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public Iterator<E>
public Object
protected Object
public void
public void
protected Object

Returns:

the key that will be used for gets and removes to the inner HashMap
toCacheFetchKey
(Object userKey)

protected Object

Returns:

the key that will be used for puts into the inner HashMap
toCachePutKey
(Object userKey)

protected Object
toUserKey(Object cachePutKey)

Inherited from com.mchange.v1.cachedstore.NoCleanupCachedStore:
findreset

Constructor Detail

KeyTransformingCachedStoreback to summary
protected KeyTransformingCachedStore(CachedStore.Manager manager)

Method Detail

cachedKeysback to summary
public Iterator<E> cachedKeys() throws CachedStoreException

Overrides com.mchange.v1.cachedstore.NoCleanupCachedStore.cachedKeys.

Implements com.mchange.v1.cachedstore.TweakableCachedStore.cachedKeys.

getCachedValueback to summary
public Object getCachedValue(Object key)

Overrides com.mchange.v1.cachedstore.NoCleanupCachedStore.getCachedValue.

Implements com.mchange.v1.cachedstore.TweakableCachedStore.getCachedValue.

Returns:Object

Doc from com.mchange.v1.cachedstore.TweakableCachedStore.getCachedValue.

null if the value for this key is not cached

removeByTransformedKeyback to summary
protected Object removeByTransformedKey(Object cacheFetchKey)
removeFromCacheback to summary
public void removeFromCache(Object key) throws CachedStoreException

Overrides com.mchange.v1.cachedstore.NoCleanupCachedStore.removeFromCache.

Implements com.mchange.v1.cachedstore.TweakableCachedStore.removeFromCache.

setCachedValueback to summary
public void setCachedValue(Object key, Object value) throws CachedStoreException

Overrides com.mchange.v1.cachedstore.NoCleanupCachedStore.setCachedValue.

Implements com.mchange.v1.cachedstore.TweakableCachedStore.setCachedValue.

toCacheFetchKeyback to summary
protected Object toCacheFetchKey(Object userKey)
Returns:Object

the key that will be used for gets and removes to the inner HashMap

toCachePutKeyback to summary
protected Object toCachePutKey(Object userKey)
Returns:Object

the key that will be used for puts into the inner HashMap

toUserKeyback to summary
protected Object toUserKey(Object cachePutKey)