| ri.cache.BasicCache
BasicCache | public class BasicCache extends AbstractCache implements Cache<K, V>(Code) | | BasicCache
author: Brian Goetz |
Constructor Summary | |
public | BasicCache(String name) | public | BasicCache(String name, int capacity) | public | BasicCache(String name, CacheLoader<K, V> loader) | public | BasicCache(String name, int capacity, long timeToLive) | public | BasicCache(String name, EvictionStrategy<K, V> evictionStrategy, CacheLoader<K, V> loader) | public | BasicCache(String name, int capacity, long timeToLive, EvictionStrategy<K, V> evictionStrategy, CacheLoader<K, V> loader) |
capacity | final protected int capacity(Code) | | |
timeToLive | final protected long timeToLive(Code) | | |
BasicCache | public BasicCache(String name, int capacity)(Code) | | |
BasicCache | public BasicCache(String name, int capacity, long timeToLive)(Code) | | |
clear | public void clear()(Code) | | |
clearStatistics | public void clearStatistics()(Code) | | |
evict | public void evict()(Code) | | |
loadEntry | protected void loadEntry(K key, V value)(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) | | |
putEntry | protected V putEntry(K key, V value)(Code) | | |
shutdown | public void shutdown()(Code) | | |
|
|