Top Fields Constructors Methods
com.mchange.v1.cachedstore

pack-priv Class NoCacheCachedStore

extends Object
implements TweakableCachedStore
Class Inheritance
All Implemented Interfaces
com.mchange.v1.cachedstore.TweakableCachedStore, com.mchange.v1.cachedstore.CachedStore
Imports
java.util.Collections, .Iterator, com.mchange.v1.util.IteratorUtils

Field Summary

Modifier and TypeField and Description
pack-priv CachedStore.Manager

Constructor Summary

AccessConstructor and Description
pack-priv

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

mgrback to summary
pack-priv CachedStore.Manager mgr

Constructor Detail

NoCacheCachedStoreback to summary
pack-priv NoCacheCachedStore(CachedStore.Manager mgr)

Method Detail

cachedKeysback to summary
public Iterator<E> cachedKeys()

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)

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)

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