Class AsyncInvalidationCache<K,V> 
java.lang.Object
com.atlassian.cache.hazelcast.ManagedHybridCacheSupport
com.atlassian.cache.hazelcast.asyncinvalidation.AsyncInvalidationCache<K,V> 
- All Implemented Interfaces:
- com.atlassian.cache.Cache<K,,- V> - com.atlassian.cache.ManagedCache,- com.atlassian.cache.ReadThroughCache<K,- V> 
public final class AsyncInvalidationCache<K,V> 
extends com.atlassian.cache.hazelcast.ManagedHybridCacheSupport
An implementation of 
Cache that is backed by a local cache, and which publishes cache
 invalidation events when certain mutable operations are performed.- 
Field SummaryFields inherited from class com.atlassian.cache.hazelcast.ManagedHybridCacheSupportcacheManager, name
- 
Constructor SummaryConstructorsConstructorDescriptionAsyncInvalidationCache(com.atlassian.cache.Cache<K, V> localCache, com.atlassian.cache.ManagedCache localManagedCache, CacheInvalidator<K> invalidator) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddListener(com.atlassian.cache.CacheEntryListener<K, V> listener, boolean includeValues) voidclear()booleancontainsKey(K key) getKeys()protected com.atlassian.cache.ManagedCachebooleanbooleanisLocal()final booleanbooleanprotected voidonClear()protected voidprotected voidvoidputIfAbsent(K key, V value) voidbooleanvoidvoidremoveListener(com.atlassian.cache.CacheEntryListener<K, V> listener) booleanMethods inherited from class com.atlassian.cache.hazelcast.ManagedHybridCacheSupportcurrentExpireAfterAccessMillis, currentExpireAfterWriteMillis, currentMaxEntries, getName, getStatistics, isStatisticsEnabled, setStatistics, updateExpireAfterAccess, updateExpireAfterWrite, updateMaxEntriesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.cache.ManagedCachegetCacheCollectorMethods inherited from interface com.atlassian.cache.ReadThroughCachegetName
- 
Constructor Details- 
AsyncInvalidationCachepublic AsyncInvalidationCache(com.atlassian.cache.Cache<K, V> localCache, com.atlassian.cache.ManagedCache localManagedCache, CacheInvalidator<K> invalidator) 
 
- 
- 
Method Details- 
isReplicateViaCopypublic boolean isReplicateViaCopy()- Specified by:
- isReplicateViaCopyin interface- com.atlassian.cache.ManagedCache
- Overrides:
- isReplicateViaCopyin class- com.atlassian.cache.hazelcast.ManagedHybridCacheSupport
 
- 
onPut
- 
onRemove
- 
onClearprotected void onClear()
- 
clearpublic void clear()- Specified by:
- clearin interface- com.atlassian.cache.ManagedCache
 
- 
isReplicateAsynchronouslypublic final boolean isReplicateAsynchronously()
- 
put- Specified by:
- putin interface- com.atlassian.cache.Cache<K,- V> 
 
- 
putIfAbsent- Specified by:
- putIfAbsentin interface- com.atlassian.cache.Cache<K,- V> 
 
- 
remove- Specified by:
- removein interface- com.atlassian.cache.ReadThroughCache<K,- V> 
 
- 
remove- Specified by:
- removein interface- com.atlassian.cache.ReadThroughCache<K,- V> 
 
- 
removeAllpublic void removeAll()- Specified by:
- removeAllin interface- com.atlassian.cache.ReadThroughCache<K,- V> 
 
- 
replace- Specified by:
- replacein interface- com.atlassian.cache.Cache<K,- V> 
 
- 
isLocalpublic boolean isLocal()- Specified by:
- isLocalin interface- com.atlassian.cache.ManagedCache
- Overrides:
- isLocalin class- com.atlassian.cache.hazelcast.ManagedHybridCacheSupport
 
- 
getLocalCacheprotected com.atlassian.cache.ManagedCache getLocalCache()- Specified by:
- getLocalCachein class- com.atlassian.cache.hazelcast.ManagedHybridCacheSupport
 
- 
isFlushablepublic boolean isFlushable()- Specified by:
- isFlushablein interface- com.atlassian.cache.ManagedCache
 
- 
containsKey- Specified by:
- containsKeyin interface- com.atlassian.cache.ReadThroughCache<K,- V> 
 
- 
getKeys- Specified by:
- getKeysin interface- com.atlassian.cache.ReadThroughCache<K,- V> 
 
- 
get- Specified by:
- getin interface- com.atlassian.cache.ReadThroughCache<K,- V> 
 
- 
get- Specified by:
- getin interface- com.atlassian.cache.ReadThroughCache<K,- V> 
 
- 
getBulk- Specified by:
- getBulkin interface- com.atlassian.cache.ReadThroughCache<K,- V> 
 
- 
addListenerpublic void addListener(com.atlassian.cache.CacheEntryListener<K, V> listener, boolean includeValues) - Specified by:
- addListenerin interface- com.atlassian.cache.Cache<K,- V> 
 
- 
removeListener- Specified by:
- removeListenerin interface- com.atlassian.cache.Cache<K,- V> 
 
 
-