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 SummaryConstructors Modifier Constructor Description protectedAbstractCache(CacheDescriptor desc)
 - 
Method SummaryAll 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.nuxeo.ecm.core.cache.CachecomputeIfAbsent, get, hasEntry, invalidate, invalidateAll, keySet, put
 - 
Methods inherited from interface org.nuxeo.ecm.core.cache.CacheManagementgetSize, invalidateLocal, invalidateLocalAll, putLocal
 
- 
 
- 
- 
- 
Field Detail- 
nameprotected final String name 
 - 
ttlpublic final long ttl 
 
- 
 - 
Constructor Detail- 
AbstractCacheprotected AbstractCache(CacheDescriptor desc) 
 
- 
 - 
Method Detail- 
getNamepublic String getName() Description copied from interface:CacheGet cache name as specified in the descriptor
 - 
startpublic void start() Description copied from interface:CacheManagementStarts this cache.- Specified by:
- startin interface- CacheManagement
 
 - 
stoppublic void stop() Description copied from interface:CacheManagementStops this cache and releases related resources.- Specified by:
- stopin interface- CacheManagement
 
 
- 
 
-