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() |
String |
getName() |
SortedMap<com.atlassian.cache.CacheStatisticsKey,com.atlassian.util.concurrent.Supplier<Long>> |
getStatistics() |
boolean |
isFlushable() |
boolean |
isLocal() |
boolean |
isReplicateAsynchronously() |
boolean |
isReplicateViaCopy() |
boolean |
isStatisticsEnabled() |
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.ManagedCacheCopyright © 2003–2016 Atlassian. All rights reserved.