Top Fields Constructors Methods
com.mchange.util.impl

public abstract Class SoftReferenceObjectCache

extends Object
implements ObjectCache
Class Inheritance
All Implemented Interfaces
com.mchange.util.ObjectCache
Imports
java.lang.ref.Reference, .SoftReference, java.util.HashMap, .Map, com.mchange.util.ObjectCache

Deprecated

as a consequence of ObjectCache being deprecated. See corresponding docs for further information.

Field Summary

Modifier and TypeField and Description
pack-priv Map<K, V>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract Object
public synchronized Object
protected boolean
isDirty(Object key, Object cached)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

storeback to summary
pack-priv Map<K, V> store

Constructor Detail

SoftReferenceObjectCacheback to summary
public SoftReferenceObjectCache()

Method Detail

createFromKeyback to summary
protected abstract Object createFromKey(Object key) throws Exception
findback to summary
public synchronized Object find(Object key) throws Exception

Implements com.mchange.util.ObjectCache.find.

isDirtyback to summary
protected boolean isDirty(Object key, Object cached)