public interface CacheService
Modifier and Type | Method and Description |
---|---|
Cache |
getCache(String name)
Gets 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.
|
void |
registerCache(String name,
int size,
int timeout)
Deprecated.
since 9.3, seems unused, use
registerCache(String) instead. |
Cache getCache(String name)
name
- the cache namenull
if it does not exist@Deprecated void registerCache(String name, int size, int timeout)
registerCache(String)
instead.name
- the cache namesize
- the maximum number of elementstimeout
- the entry timeout (in minutes)void registerCache(String name)
name
- the cache nameCopyright © 2019 Nuxeo. All rights reserved.