
public class SoftReferenceSynchronizedLruCache<K,V> extends SynchronizedLruCache<K,V>
DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR| Constructor and Description |
|---|
SoftReferenceSynchronizedLruCache(int capacity,
long ttl) |
SoftReferenceSynchronizedLruCache(int capacity,
long ttl,
int initialCapacity) |
SoftReferenceSynchronizedLruCache(int capacity,
long ttl,
int initialCapacity,
float loadFactor) |
| Modifier and Type | Method and Description |
|---|---|
protected InterfaceLruCacheEntry<V> |
createEntry(V value,
long ttl)
Creates new LruCacheEntry
|
clear, forceClearOldest, get, getCapacity, getEntry, put, putEntry, remove, sizepublic SoftReferenceSynchronizedLruCache(int capacity,
long ttl,
int initialCapacity,
float loadFactor)
public SoftReferenceSynchronizedLruCache(int capacity,
long ttl,
int initialCapacity)
public SoftReferenceSynchronizedLruCache(int capacity,
long ttl)
protected InterfaceLruCacheEntry<V> createEntry(V value, long ttl)
AbstractLruCachecreateEntry in class AbstractLruCache<K,V>Copyright © 2009–2019 Waarp. All rights reserved.