Interface TransactionAwareCache<K,V>
-
public interface TransactionAwareCache<K,V>A subset of theCacheinterface that contains those operations that support transactional isolation.- Since:
- 7.5
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <K,V>
TransactionAwareCache<K,V>from(com.atlassian.cache.Cache<K,V> delegate)Narrow a standardCachedown to theTransactionAwareCacheinterface.Vget(K key)Vget(K key, com.atlassian.cache.Supplier<? extends V> supplier)Collection<K>getKeys()voidput(K key, V value)voidremove(K key)voidremoveAll()
-
-
-
Method Detail
-
getKeys
Collection<K> getKeys()
-
remove
void remove(K key)
-
removeAll
void removeAll()
-
from
static <K,V> TransactionAwareCache<K,V> from(com.atlassian.cache.Cache<K,V> delegate)
Narrow a standardCachedown to theTransactionAwareCacheinterface.
-
-