|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ICachePolicy | |
|---|---|
| com.bigdata.cache | A canonicalizing object cache may be constructed from an outer weak reference value hash map backed by an inner hard reference LRU policy. |
| Uses of ICachePolicy in com.bigdata.cache |
|---|
| Classes in com.bigdata.cache that implement ICachePolicy | |
|---|---|
class |
LRUCache<K,T>
Hard reference hash map with Least Recently Used ordering over entries. |
class |
WeakValueCache<K,T>
A memory sensitive cache using weak references for its values and object ids for its keys and backed by the CRUD operations of the persistence layer, which is assumed to implement a hard reference LRU or similar cache policy. |
| Methods in com.bigdata.cache that return ICachePolicy | |
|---|---|
ICachePolicy<K,T> |
WeakValueCache.getDelegate()
The delegate hard reference cache. |
| Constructors in com.bigdata.cache with parameters of type ICachePolicy | |
|---|---|
WeakValueCache(ICachePolicy<K,T> delegate)
|
|
WeakValueCache(ICachePolicy<K,T> delegate,
IWeakRefCacheEntryFactory<K,T> factory)
|
|
WeakValueCache(int initialCapacity,
float loadFactor,
ICachePolicy<K,T> delegate,
IWeakRefCacheEntryFactory<K,T> factory)
Designated constructor. |
|
WeakValueCache(int initialCapacity,
float loadFactor,
ICachePolicy<K,T> delegate,
IWeakRefCacheEntryFactory<K,T> factory,
WeakValueCache.IClearReferenceListener<K> clearReferenceListener)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||