|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.cache.option.OptionalReadThroughCache<K,V>
CacheFactory.getCache(String, com.atlassian.cache.CacheLoader)
@Deprecated public class OptionalReadThroughCache<K,V>
Read-through cache which stores missing results from the underlying factory in addition to non-missing values.
Constructor Summary | |
---|---|
OptionalReadThroughCache(com.atlassian.cache.Cache<K,Option<V>> cache,
com.google.common.base.Function<K,V> factory)
Deprecated. |
Method Summary | |
---|---|
V |
get(K key)
Deprecated. |
void |
put(K key,
V value)
Deprecated. |
void |
remove(K key)
Deprecated. |
void |
removeAll()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptionalReadThroughCache(com.atlassian.cache.Cache<K,Option<V>> cache, com.google.common.base.Function<K,V> factory)
Method Detail |
---|
public V get(K key)
public void put(K key, V value)
public void remove(K key)
public void removeAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |