Top Fields Constructors Methods
com.mchange.v1.cachedstore

pack-priv Class ManualCleanupSoftKeyCachedStore

extends KeyTransformingCachedStore
implements Vacuumable
Class Inheritance
All Implemented Interfaces
com.mchange.v1.cachedstore.Vacuumable
Imports
java.lang.ref.ReferenceQueue

Field Summary

Modifier and TypeField and Description
pack-priv ReferenceQueue<T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Object
protected Object
protected Object
public void
Inherited from com.mchange.v1.cachedstore.KeyTransformingCachedStore:
cachedKeysgetCachedValueremoveByTransformedKeyremoveFromCachesetCachedValue

Field Detail

queueback to summary
pack-priv ReferenceQueue<T> queue

Constructor Detail

ManualCleanupSoftKeyCachedStoreback to summary
public ManualCleanupSoftKeyCachedStore(CachedStore.Manager manager)

Method Detail

toCacheFetchKeyback to summary
protected Object toCacheFetchKey(Object userKey)

Overrides com.mchange.v1.cachedstore.KeyTransformingCachedStore.toCacheFetchKey.

Returns:Object

Doc from com.mchange.v1.cachedstore.KeyTransformingCachedStore.toCacheFetchKey.

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

toCachePutKeyback to summary
protected Object toCachePutKey(Object userKey)

Overrides com.mchange.v1.cachedstore.KeyTransformingCachedStore.toCachePutKey.

Returns:Object

Doc from com.mchange.v1.cachedstore.KeyTransformingCachedStore.toCachePutKey.

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

toUserKeyback to summary
protected Object toUserKey(Object cachePutKey)

Overrides com.mchange.v1.cachedstore.KeyTransformingCachedStore.toUserKey.

vacuumback to summary
public void vacuum() throws CachedStoreException

Implements com.mchange.v1.cachedstore.Vacuumable.vacuum.