public interface TransactionAwareCache<K,V>
Cache
interface that contains those operations that support transactional isolation.Modifier and Type | Method and Description |
---|---|
static <K,V> TransactionAwareCache<K,V> |
from(com.atlassian.cache.Cache<K,V> delegate)
Narrow a standard
Cache down to the TransactionAwareCache 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() |
Collection<K> getKeys()
void remove(K key)
void removeAll()
static <K,V> TransactionAwareCache<K,V> from(com.atlassian.cache.Cache<K,V> delegate)
Cache
down to the TransactionAwareCache
interface.Copyright © 2003–2021 Atlassian. All rights reserved.