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
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.core.cache.Cache
computeIfAbsent, get, hasEntry, invalidate, invalidateAll, keySet, putMethods 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: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
-
toString
-