Interface TransactionAwareCache<K,V>
-
public interface TransactionAwareCache<K,V>
A subset of theCache
interface 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 standardCache
down to theTransactionAwareCache
interface.V
get(K key)
V
get(K key, com.atlassian.cache.Supplier<? extends V> supplier)
Collection<K>
getKeys()
void
put(K key, V value)
void
remove(K key)
void
removeAll()
-
-
-
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 standardCache
down to theTransactionAwareCache
interface.
-
-