Package | Description |
---|---|
com.bigdata.btree |
The
BTree is a scalable B+-Tree with copy-on-write
semantics mapping variable length unsigned byte[] keys to variable
length byte[] values (null values are allowed). |
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.
|
com.bigdata.htree |
Modifier and Type | Class and Description |
---|---|
class |
MyHardReferenceQueue<T>
Wraps the basic implementation and exposes a protected method that we
need to write the tests in this suite.
|
Modifier and Type | Field and Description |
---|---|
protected IHardReferenceQueue<PO> |
AbstractBTree.writeRetentionQueue
Nodes (that is nodes or leaves) are added to a hard reference queue when
they are created or read from the store.
|
Modifier and Type | Method and Description |
---|---|
void |
NoEvictionListener.evicted(IHardReferenceQueue<PO> cache,
PO ref) |
void |
NOPEvictionListener.evicted(IHardReferenceQueue<PO> cache,
PO ref) |
void |
IEvictionListener.evicted(IHardReferenceQueue<PO> cache,
PO ref) |
void |
DefaultEvictionListener.evicted(IHardReferenceQueue<PO> cache,
PO ref) |
Modifier and Type | Class and Description |
---|---|
class |
HardReferenceQueue<T>
A cache for hard references using an LRU policy.
|
class |
HardReferenceQueueWithBatchingUpdates<T>
A variant relying on thread-local
IHardReferenceQueue s to batch
updates and thus minimize thread contention for the lock required to
synchronize calls to HardReferenceQueueWithBatchingUpdates.add(Object) . |
class |
SynchronizedHardReferenceQueue<T>
Thread-safe version.
|
class |
SynchronizedHardReferenceQueueWithTimeout<T>
Thread-safe version with timeout for clearing stale references from the
queue.
|
Modifier and Type | Method and Description |
---|---|
void |
HardReferenceQueueEvictionListener.evicted(IHardReferenceQueue<T> cache,
T ref)
Notice that a reference is being evicted from the cache.
|
Constructor and Description |
---|
ConcurrentWeakValueCache(IHardReferenceQueue<V> queue,
float loadFactor,
int concurrencyLevel,
boolean removeClearedReferences)
Defaults the initial capacity of the map based on the capacity of the
optional
IHardReferenceQueue and uses the Java default of
16 if there is no queue. |
ConcurrentWeakValueCache(IHardReferenceQueue<V> queue,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
boolean removeClearedReferences)
Uses the specified values.
|
ConcurrentWeakValueCacheWithBatchedUpdates(IHardReferenceQueue<V> queue,
float loadFactor,
int concurrencyLevel,
boolean removeClearedReferences)
Defaults the initial capacity of the map based on the capacity of the
IHardReferenceQueue . |
ConcurrentWeakValueCacheWithBatchedUpdates(IHardReferenceQueue<V> queue,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
boolean removeClearedReferences)
Uses the specified values.
|
HardReferenceQueueWithBatchingUpdates(boolean threadLocalBuffers,
int concurrencyLevel,
IHardReferenceQueue<T> sharedQueue,
int threadLocalQueueNScan,
int threadLocalQueueCapacity,
int threadLocalTryLockSize,
com.bigdata.cache.IBatchedUpdateListener<T> batchedUpdateListener) |
HardReferenceQueueWithBatchingUpdates(IHardReferenceQueue<T> sharedQueue,
int threadLocalQueueNScan,
int threadLocalQueueCapacity,
int threadLocalTryLockSize,
com.bigdata.cache.IBatchedUpdateListener<T> batchedUpdateListener)
Designated constructor.
|
Modifier and Type | Field and Description |
---|---|
protected IHardReferenceQueue<PO> |
AbstractHTree.writeRetentionQueue
Nodes (that is nodes or leaves) are added to a hard reference queue when
they are created or read from the store.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultEvictionListener.evicted(IHardReferenceQueue<PO> cache,
PO ref) |
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.