org.apache.ojb.broker.cache
Class ObjectCacheDefaultImpl.CacheEntrySoft
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.SoftReference
org.apache.ojb.broker.cache.ObjectCacheDefaultImpl.CacheEntrySoft
- All Implemented Interfaces:
- ObjectCacheDefaultImpl.CacheEntry
- Enclosing class:
- ObjectCacheDefaultImpl
static final class ObjectCacheDefaultImpl.CacheEntrySoft
- extends SoftReference
- implements ObjectCacheDefaultImpl.CacheEntry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lifetime
private final long lifetime
oid
private final Identity oid
ObjectCacheDefaultImpl.CacheEntrySoft
ObjectCacheDefaultImpl.CacheEntrySoft(Object object,
Identity k,
ReferenceQueue q,
long timeout)
getOid
public Identity getOid()
- Specified by:
getOid
in interface ObjectCacheDefaultImpl.CacheEntry
getLifetime
public long getLifetime()
- Specified by:
getLifetime
in interface ObjectCacheDefaultImpl.CacheEntry
Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.