public class VCacheFlusher extends Object implements CacheFlusher
CacheFlusher which flushes VCache instances.
VCache doesn't have a "flush all caches" function, so we need to know which individual caches to flush. This is done
by wrapping a VCacheFactory instance in a proxy which records caches as they get requested from the factory.
CacheFlusher.AllCachesFlushEvent, CacheFlusher.EventPublishingFlusher, CacheFlusher.SingleCacheFlushEventnonFlushableCaches| Constructor and Description |
|---|
VCacheFlusher() |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCache(String cacheName)
Flush (i.e.
|
void |
flushCaches()
Flush (i.e.
|
Set<String> |
getFlushableCacheNames()
Retrieves the names of all flushable caches currently known by the system.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCacheManagerFlusher, createCompositeCacheFlusherpublic void flushCaches()
CacheFlusherflushCaches in interface CacheFlusherpublic void flushCache(String cacheName)
CacheFlusherflushCache in interface CacheFlusherpublic Set<String> getFlushableCacheNames()
CacheFlushergetFlushableCacheNames in interface CacheFlusherCopyright © 2003–2017 Atlassian. All rights reserved.