public class EHCache3Manager extends CacheManager
| Constructor and Description | 
|---|
EHCache3Manager()  | 
| 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, removeCacheEventListenerpublic EHCache3Manager()
                throws ClassNotFoundException,
                       InstantiationException,
                       IllegalAccessException
public Object getCache(String group, String key)
CacheManagergetCache in class CacheManagergroup - 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)
CacheManageraddCache in class CacheManagergroup - group name of cache.key - key of the item.cache - cache item to add to cache.public void doFlush(CacheEvent event)
doFlush in class CacheManagerpublic Object getImplementation()
CacheManagergetImplementation in class CacheManageractivejdbc.properties file.
 For instance:
 redis.clients.jedis.JedisPool.Copyright © 2020 JavaLite. All rights reserved.