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
Abstract class to be extended to provide new cache implementation
- Since:
- 6.0
-
Field Summary
-
Constructor Summary
-
Method Summary
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
computeIfAbsent, get, hasEntry, invalidate, invalidateAll, keySet, put
Methods inherited from interface org.nuxeo.ecm.core.cache.CacheManagement
getSize, invalidateLocal, invalidateLocalAll, putLocal
-
Field Details
-
name
-
ttl
public final long ttl
-
-
Constructor Details
-
AbstractCache
-
-
Method Details
-
getName
Description copied from interface:Cache
Get cache name as specified in the descriptor -
start
public void start()Description copied from interface:CacheManagement
Starts this cache.- Specified by:
start
in interfaceCacheManagement
-
stop
public void stop()Description copied from interface:CacheManagement
Stops this cache and releases related resources.- Specified by:
stop
in interfaceCacheManagement
-
toString
-