Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
ICachePolicy<K,T> |
WeakValueCache.getDelegate()
The delegate hard reference cache.
|
Constructor and Description |
---|
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) |
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.