Package org.nuxeo.ecm.core.cache
Class AbstractCache
- java.lang.Object
-
- org.nuxeo.ecm.core.cache.AbstractCache
-
- All Implemented Interfaces:
Cache,CacheManagement
- Direct Known Subclasses:
InMemoryCacheImpl
public abstract class AbstractCache extends Object implements CacheManagement
Abstract class to be extended to provide new cache implementation- Since:
- 6.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCache(CacheDescriptor desc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get cache name as specified in the descriptorvoidstart()Starts this cache.voidstop()Stops this cache and releases related resources.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.core.cache.Cache
get, hasEntry, invalidate, invalidateAll, keySet, put
-
Methods inherited from interface org.nuxeo.ecm.core.cache.CacheManagement
getSize, invalidateLocal, invalidateLocalAll, putLocal
-
-
-
-
Constructor Detail
-
AbstractCache
protected AbstractCache(CacheDescriptor desc)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:CacheGet cache name as specified in the descriptor
-
start
public void start()
Description copied from interface:CacheManagementStarts this cache.- Specified by:
startin interfaceCacheManagement
-
stop
public void stop()
Description copied from interface:CacheManagementStops this cache and releases related resources.- Specified by:
stopin interfaceCacheManagement
-
-