Package org.nuxeo.ecm.core.cache
Interface CacheService
- All Known Implementing Classes:
CacheServiceImpl
public interface CacheService
Nuxeo cache interface
- Since:
- 6.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the cache with the given name.void
registerCache
(String name) Programmatically registers a cache with the given name, with the the size and the timeout given by the default cache.
-
Method Details
-
getCache
Gets the cache with the given name.- Parameters:
name
- the cache name- Returns:
- the cache, or
null
if it does not exist
-
registerCache
Programmatically registers a cache with the given name, with the the size and the timeout given by the default cache.- Parameters:
name
- the cache name- Since:
- 9.3
-