public class NopeCacheManager extends CacheManager
Constructor and Description |
---|
NopeCacheManager() |
Modifier and Type | Method and Description |
---|---|
void |
addCache(String group,
String key,
Object cache)
Adds item to cache.
|
void |
doFlush(CacheEvent event) |
Object |
getCache(String group,
String key)
Returns a cached item.
|
Object |
getImplementation()
Returns underlying instance of implementation for specific configuration.
|
addCacheEventListener, flush, flush, getKey, purgeTableCache, purgeTableCache, removeAllCacheEventListeners, removeCacheEventListener
public Object getCache(String group, String key)
CacheManager
getCache
in class CacheManager
group
- group of caches - this is a name of a table for which query results are cachedkey
- key of the item.public void addCache(String group, String key, Object cache)
CacheManager
addCache
in class CacheManager
group
- group name of cache.key
- key of the item.cache
- cache item to add to cache.public void doFlush(CacheEvent event)
doFlush
in class CacheManager
public Object getImplementation()
CacheManager
getImplementation
in class CacheManager
activejdbc.properties
file.
For instance:
redis.clients.jedis.JedisPool
.Copyright © 2020 JavaLite. All rights reserved.