Top Fields Constructors Methods
com.mchange.v1.cachedstore

pack-priv Class NoCleanupCachedStore

extends Object
implements TweakableCachedStore
Class Inheritance
All Implemented Interfaces
com.mchange.v1.cachedstore.TweakableCachedStore, com.mchange.v1.cachedstore.CachedStore
Known Direct Subclasses
com.mchange.v1.cachedstore.ValueTransformingCachedStore, com.mchange.v1.cachedstore.KeyTransformingCachedStore
Imports
java.util.HashMap, .Map, .Iterator

Field Summary

Modifier and TypeField and Description
protected Map<K, V>
pack-priv static final boolean
pack-priv CachedStore.Manager

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterator<E>
public Object
public Object
public void
public void
reset()

Implements com.mchange.v1.cachedstore.CachedStore.reset.

clears any cached values.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cacheback to summary
protected Map<K, V> cache
DEBUGback to summary
pack-priv static final boolean DEBUG
managerback to summary
pack-priv CachedStore.Manager manager

Constructor Detail

NoCleanupCachedStoreback to summary
public NoCleanupCachedStore(CachedStore.Manager manager)

Method Detail

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

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

findback to summary
public Object find(Object key) throws CachedStoreException

Implements com.mchange.v1.cachedstore.CachedStore.find.

getCachedValueback to summary
public Object getCachedValue(Object key)

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

removeFromCacheback to summary
public void removeFromCache(Object key) throws CachedStoreException

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

resetback to summary
public void reset()

Implements com.mchange.v1.cachedstore.CachedStore.reset.

Doc from com.mchange.v1.cachedstore.CachedStore.reset.

clears any cached values. subsequent finds will recreate from key.

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

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