com.atlassian.confluence.cache
Class CacheAdapter
java.lang.Object
com.atlassian.confluence.cache.CacheAdapter
- All Implemented Interfaces:
- Cache
- Direct Known Subclasses:
- DeferredOperationsCache
- public abstract class CacheAdapter
- extends Object
- implements Cache
Delegates to an underlying cache. Subclass this to override just some
of the underlying cache's behaviour.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheAdapter
public CacheAdapter(Cache underlyingCache)
getName
public String getName()
- Specified by:
getName in interface Cache
get
public Object get(Object key)
- Specified by:
get in interface Cache
getKeys
public List getKeys()
- Specified by:
getKeys in interface Cache
put
public void put(Object key,
Object value)
- Specified by:
put in interface Cache
remove
public void remove(Object key)
- Specified by:
remove in interface Cache
removeAll
public void removeAll()
- Specified by:
removeAll in interface Cache
getStatus
public int getStatus()
- Specified by:
getStatus in interface Cache
getDelegate
protected Cache getDelegate()