public class EhCacheFactory
extends java.lang.Object
构造器和说明 |
---|
EhCacheFactory() |
限定符和类型 | 方法和说明 |
---|---|
static void |
addCacheManager(FineCacheManager cacheManager) |
static com.fr.third.net.sf.ehcache.Ehcache |
createCache(FineCacheConfig cacheConfig) |
static com.fr.third.net.sf.ehcache.Ehcache |
createCache(java.lang.String cacheManagerName,
FineCacheConfig cacheConfig) |
static com.fr.third.net.sf.ehcache.config.CacheConfiguration |
createCacheConfiguration(FineCacheConfig cacheConfig) |
static void |
dispose() |
static FineCacheManager |
getCacheManager(java.lang.String name) |
static FineCacheManager |
getDefaultManager() |
static void |
removeCache(java.lang.String cacheName) |
static void |
removeCache(java.lang.String cacheManagerName,
java.lang.String cacheName) |
static void |
removeCacheManager(java.lang.String name) |
static void |
setDefaultManager(FineCacheManager defaultManager) |
public static FineCacheManager getCacheManager(java.lang.String name)
public static void addCacheManager(FineCacheManager cacheManager)
public static void removeCacheManager(java.lang.String name)
public static void dispose()
public static FineCacheManager getDefaultManager()
public static void setDefaultManager(FineCacheManager defaultManager)
public static com.fr.third.net.sf.ehcache.Ehcache createCache(FineCacheConfig cacheConfig)
public static com.fr.third.net.sf.ehcache.Ehcache createCache(java.lang.String cacheManagerName, FineCacheConfig cacheConfig)
public static void removeCache(java.lang.String cacheName)
public static void removeCache(java.lang.String cacheManagerName, java.lang.String cacheName)
public static com.fr.third.net.sf.ehcache.config.CacheConfiguration createCacheConfiguration(FineCacheConfig cacheConfig)