public class ConcurrentWeakValueCacheWithTimeout<K,V> extends ConcurrentWeakValueCache<K,V>
SynchronizedHardReferenceQueueWithTimeout
ConcurrentWeakValueCache.WeakRef<K,V>
DEBUG, INFO, log
Constructor and Description |
---|
ConcurrentWeakValueCacheWithTimeout(int queueCapacity,
float loadFactor,
int concurrencyLevel,
long timeout)
Ctor variant using a
SynchronizedHardReferenceQueueWithTimeout
with the specified capacity, timeout for stale references, and the
specified concurrency level for the inner ConcurrentHashMap used
by this class. |
ConcurrentWeakValueCacheWithTimeout(int queueCapacity,
long timeout)
Ctor variant using a
SynchronizedHardReferenceQueueWithTimeout
with the specified capacity and timeout for stale references. |
capacity, clear, containsKey, didUpdate, entryIterator, get, isRemoveClearedReferences, iterator, newWeakRef, put, putIfAbsent, remove, removeClearedEntries, removeMapEntry, size
public ConcurrentWeakValueCacheWithTimeout(int queueCapacity, long timeout)
SynchronizedHardReferenceQueueWithTimeout
with the specified capacity and timeout for stale references.timeout
- The timeout in nanoseconds.public ConcurrentWeakValueCacheWithTimeout(int queueCapacity, float loadFactor, int concurrencyLevel, long timeout)
SynchronizedHardReferenceQueueWithTimeout
with the specified capacity, timeout for stale references, and the
specified concurrency level for the inner ConcurrentHashMap
used
by this class.timeout
- The timeout in nanoseconds.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.