org.apache.ojb.broker.cache
Class ObjectCacheSoftImpl.SoftHashMap.SoftValue

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.SoftReference
          extended by org.apache.ojb.broker.cache.ObjectCacheSoftImpl.SoftHashMap.SoftValue
Enclosing class:
ObjectCacheSoftImpl.SoftHashMap

private class ObjectCacheSoftImpl.SoftHashMap.SoftValue
extends SoftReference

Class derived from SoftReference, used to store the key of the map.


Field Summary
private  Object key
          the key
 
Constructor Summary
private ObjectCacheSoftImpl.SoftHashMap.SoftValue(Object k, Object key, ReferenceQueue q)
          Create a SoftValue given the object, key and queue
 
Method Summary
 
Methods inherited from class java.lang.ref.SoftReference
get
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private final Object key
the key

Constructor Detail

ObjectCacheSoftImpl.SoftHashMap.SoftValue

private ObjectCacheSoftImpl.SoftHashMap.SoftValue(Object k,
                                                  Object key,
                                                  ReferenceQueue q)
Create a SoftValue given the object, key and queue

Parameters:
k - the object
key - the key
q - the reference queue


Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.