com.atlassian.confluence.cache
Class ConfluenceManagedCache
java.lang.Object
com.atlassian.confluence.cache.ConfluenceManagedCache
- All Implemented Interfaces:
- com.atlassian.cache.ManagedCache
public class ConfluenceManagedCache
- extends java.lang.Object
- implements com.atlassian.cache.ManagedCache
Confluence-specific wrapper around a standard atlassian-cache implementation. Adds support for ensuring that certain
system caches stay non-flushable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceManagedCache
public ConfluenceManagedCache(com.atlassian.cache.ManagedCache delegate,
boolean flushable)
clear
public void clear()
- Specified by:
clear
in interface com.atlassian.cache.ManagedCache
getName
public java.lang.String getName()
- Specified by:
getName
in interface com.atlassian.cache.ManagedCache
isFlushable
public boolean isFlushable()
- Specified by:
isFlushable
in interface com.atlassian.cache.ManagedCache
currentMaxEntries
public java.lang.Integer currentMaxEntries()
- Specified by:
currentMaxEntries
in interface com.atlassian.cache.ManagedCache
updateMaxEntries
public boolean updateMaxEntries(int newValue)
- Specified by:
updateMaxEntries
in interface com.atlassian.cache.ManagedCache
currentExpireAfterAccessMillis
public java.lang.Long currentExpireAfterAccessMillis()
- Specified by:
currentExpireAfterAccessMillis
in interface com.atlassian.cache.ManagedCache
updateExpireAfterAccess
public boolean updateExpireAfterAccess(long expireAfter,
java.util.concurrent.TimeUnit timeUnit)
- Specified by:
updateExpireAfterAccess
in interface com.atlassian.cache.ManagedCache
currentExpireAfterWriteMillis
public java.lang.Long currentExpireAfterWriteMillis()
- Specified by:
currentExpireAfterWriteMillis
in interface com.atlassian.cache.ManagedCache
updateExpireAfterWrite
public boolean updateExpireAfterWrite(long expireAfter,
java.util.concurrent.TimeUnit timeUnit)
- Specified by:
updateExpireAfterWrite
in interface com.atlassian.cache.ManagedCache
isLocal
public boolean isLocal()
- Specified by:
isLocal
in interface com.atlassian.cache.ManagedCache
isReplicateAsynchronously
public boolean isReplicateAsynchronously()
- Specified by:
isReplicateAsynchronously
in interface com.atlassian.cache.ManagedCache
isReplicateViaCopy
public boolean isReplicateViaCopy()
- Specified by:
isReplicateViaCopy
in interface com.atlassian.cache.ManagedCache
Copyright © 2003-2014 Atlassian. All Rights Reserved.