
public class SoftReferenceSynchronizedLruCache<K,V> extends SynchronizedLruCache<K,V>
| 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)
AbstractLruCacheIt can be used to change implementation of LruCacheEntry
createEntry in class AbstractLruCache<K,V>Copyright © 2009–2020 Waarp. All rights reserved.