com.atlassian.confluence.cache.option
Class OptionalReadThroughCache<K,V>
java.lang.Object
com.atlassian.confluence.cache.option.OptionalReadThroughCache<K,V>
public class OptionalReadThroughCache<K,V>
- extends java.lang.Object
Read-through cache which stores missing results from the underlying factory in addition to non-missing values.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionalReadThroughCache
public OptionalReadThroughCache(com.atlassian.cache.Cache delegate,
com.google.common.base.Function<K,V> factory)
get
public V get(K key)
put
public void put(K key,
V value)
remove
public void remove(K key)
removeAll
public void removeAll()
Copyright © 2003-2014 Atlassian. All Rights Reserved.