public class ConfluenceManagedCache extends Object implements com.atlassian.cache.ManagedCache
| Constructor and Description |
|---|
ConfluenceManagedCache(com.atlassian.cache.ManagedCache delegate,
boolean flushable) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Long |
currentExpireAfterAccessMillis() |
Long |
currentExpireAfterWriteMillis() |
Integer |
currentMaxEntries() |
@Nullable com.atlassian.instrumentation.caches.CacheCollector |
getCacheCollector() |
String |
getName() |
@NonNull SortedMap<com.atlassian.cache.CacheStatisticsKey,Supplier<Long>> |
getStatistics() |
boolean |
isFlushable() |
boolean |
isLocal() |
boolean |
isReplicateAsynchronously() |
boolean |
isReplicateViaCopy() |
boolean |
isStatisticsEnabled() |
void |
setStatistics(boolean b) |
boolean |
updateExpireAfterAccess(long expireAfter,
TimeUnit timeUnit) |
boolean |
updateExpireAfterWrite(long expireAfter,
TimeUnit timeUnit) |
boolean |
updateMaxEntries(int newValue) |
public ConfluenceManagedCache(com.atlassian.cache.ManagedCache delegate,
boolean flushable)
public void clear()
clear in interface com.atlassian.cache.ManagedCachepublic String getName()
getName in interface com.atlassian.cache.ManagedCachepublic boolean isFlushable()
isFlushable in interface com.atlassian.cache.ManagedCachepublic Integer currentMaxEntries()
currentMaxEntries in interface com.atlassian.cache.ManagedCachepublic boolean updateMaxEntries(int newValue)
updateMaxEntries in interface com.atlassian.cache.ManagedCachepublic Long currentExpireAfterAccessMillis()
currentExpireAfterAccessMillis in interface com.atlassian.cache.ManagedCachepublic boolean updateExpireAfterAccess(long expireAfter,
TimeUnit timeUnit)
updateExpireAfterAccess in interface com.atlassian.cache.ManagedCachepublic Long currentExpireAfterWriteMillis()
currentExpireAfterWriteMillis in interface com.atlassian.cache.ManagedCachepublic boolean updateExpireAfterWrite(long expireAfter,
TimeUnit timeUnit)
updateExpireAfterWrite in interface com.atlassian.cache.ManagedCachepublic boolean isLocal()
isLocal in interface com.atlassian.cache.ManagedCachepublic boolean isReplicateAsynchronously()
isReplicateAsynchronously in interface com.atlassian.cache.ManagedCachepublic boolean isReplicateViaCopy()
isReplicateViaCopy in interface com.atlassian.cache.ManagedCachepublic boolean isStatisticsEnabled()
isStatisticsEnabled in interface com.atlassian.cache.ManagedCachepublic void setStatistics(boolean b)
setStatistics in interface com.atlassian.cache.ManagedCachepublic @NonNull SortedMap<com.atlassian.cache.CacheStatisticsKey,Supplier<Long>> getStatistics()
getStatistics in interface com.atlassian.cache.ManagedCachepublic @Nullable com.atlassian.instrumentation.caches.CacheCollector getCacheCollector()
getCacheCollector in interface com.atlassian.cache.ManagedCacheCopyright © 2003–2019 Atlassian. All rights reserved.