| ri.cache.ReferenceCache
Constructor Summary | |
public | ReferenceCache(String name) | public | ReferenceCache(String name, int capacity) | public | ReferenceCache(String name, CacheLoader<K, V> loader) | public | ReferenceCache(String name, int capacity, long timeToLive, long loadTimeout) | public | ReferenceCache(String name, EvictionStrategy<K, V> evictionStrategy, CacheLoader<K, V> loader) | public | ReferenceCache(String name, int capacity, long timeToLive, long loadTimeout, EvictionStrategy<K, V> evictionStrategy, CacheLoader<K, V> loader) |
Method Summary | |
public void | clear() | public void | clearStatistics() | public boolean | containsKey(Object key) | protected V | doPut(K key, V value, long timeToLive) | public Set<Map.Entry<K, V>> | entrySet() | public void | evict() | public V | get(Object key) | public Map<K, V> | getAll(Collection<? extends K> keys) | public CacheEntry<K, V> | getCacheEntry(K key) | public CacheStatistics | getCacheStatistics() | public CacheStatistics | getStatistics() | public void | load(K key) | public void | loadAll(Collection<? extends K> keys) | public void | loadComplete(K key, Future<V> future) | public V | peek(K key) | public V | put(K key, V value) | public V | put(K key, V value, long timeToLive) | public V | putIfAbsent(K key, V value) | public V | remove(Object key) | public boolean | remove(Object key, Object value) | public V | replace(K key, V value) | public boolean | replace(K key, V value, V newValue) | public void | shutdown() | public int | size() |
capacity | final protected int capacity(Code) | | |
timeToLiveloadTimeout | final protected long timeToLiveloadTimeout(Code) | | |
ReferenceCache | public ReferenceCache(String name, int capacity)(Code) | | |
ReferenceCache | public ReferenceCache(String name, int capacity, long timeToLive, long loadTimeout)(Code) | | |
clear | public void clear()(Code) | | |
clearStatistics | public void clearStatistics()(Code) | | |
doPut | protected V doPut(K key, V value, long timeToLive)(Code) | | |
evict | public void evict()(Code) | | |
loadComplete | public void loadComplete(K key, Future<V> future)(Code) | | |
peek | public V peek(K key)(Code) | | |
put | public V put(K key, V value)(Code) | | |
put | public V put(K key, V value, long timeToLive)(Code) | | |
putIfAbsent | public V putIfAbsent(K key, V value)(Code) | | |
replace | public V replace(K key, V value)(Code) | | |
replace | public boolean replace(K key, V value, V newValue)(Code) | | |
shutdown | public void shutdown()(Code) | | |
|
|