com.bigdata.cache
Interface IWeakRefCacheEntry<K,T>

All Known Subinterfaces:
ICacheEntry<K,T>
All Known Implementing Classes:
SoftCacheEntry, WeakCacheEntry

public interface IWeakRefCacheEntry<K,T>

Version:
$Id: IWeakRefCacheEntry.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Method Summary
 K getKey()
          Returns the key for the object stored in the cache entry.
 T getObject()
          The object in the cache.
 

Method Detail

getKey

K getKey()
Returns the key for the object stored in the cache entry. This is generally an object identifier (OID).


getObject

T getObject()
The object in the cache. If the entry belongs to a weak reference cache, then this method returns the weak referent or null iff the weak reference has been cleared.



Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.