Package | Description |
---|---|
org.waarp.common.lru |
Classes implementing LRU Utilities
Based on work from Damian Momot at http://code.google.com/p/simplelrucache/
|
Modifier and Type | Method and Description |
---|---|
protected InterfaceLruCacheEntry<V> |
AbstractLruCache.createEntry(V value,
long ttl)
Creates new LruCacheEntry
|
protected InterfaceLruCacheEntry<V> |
SoftReferenceSynchronizedLruCache.createEntry(V value,
long ttl) |
protected abstract InterfaceLruCacheEntry<V> |
AbstractLruCache.getEntry(K key)
Returns LruCacheEntry mapped by key or null if it does not exist
|
protected InterfaceLruCacheEntry<V> |
SynchronizedLruCache.getEntry(K key) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractLruCache.putEntry(K key,
InterfaceLruCacheEntry<V> entry)
Puts entry into cache
|
protected void |
SynchronizedLruCache.putEntry(K key,
InterfaceLruCacheEntry<V> entry) |
Copyright © 2009–2020 Waarp. All rights reserved.