| 限定符和类型 | 字段和说明 |
|---|---|
private static JbootCache |
aopCache |
private static AopCacheConfig |
CONFIG |
private static com.jfinal.log.Log |
LOG |
| 构造器和说明 |
|---|
AopCache() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
clearThreadCacheNamePrefix() |
static <T> T |
get(String cacheName,
Object key) |
static <T> T |
get(String cacheName,
Object key,
com.jfinal.plugin.ehcache.IDataLoader dataLoader) |
static <T> T |
get(String cacheName,
Object key,
com.jfinal.plugin.ehcache.IDataLoader dataLoader,
int liveSeconds) |
(专用程序包) static JbootCache |
getAopCache() |
static List |
getKeys(String cacheName) |
static Integer |
getTtl(String cacheName,
Object key) |
static void |
put(String cacheName,
Object key,
Object value) |
static void |
put(String cacheName,
Object key,
Object value,
int liveSeconds) |
static void |
putDataToCache(String cacheName,
String cacheKey,
Object data,
int liveSeconds) |
static void |
remove(String cacheName,
Object key) |
static void |
removeAll(String cacheName) |
static void |
setAopCache(JbootCache aopCache) |
static JbootCache |
setThreadCacheNamePrefix(String cacheNamePrefix) |
static void |
setTtl(String cacheName,
Object key,
int seconds) |
private static final com.jfinal.log.Log LOG
private static JbootCache aopCache
private static final AopCacheConfig CONFIG
public AopCache()
public static JbootCache setThreadCacheNamePrefix(String cacheNamePrefix)
public static void clearThreadCacheNamePrefix()
static JbootCache getAopCache()
public static void setAopCache(JbootCache aopCache)
public static <T> T get(String cacheName, Object key, com.jfinal.plugin.ehcache.IDataLoader dataLoader)
public static <T> T get(String cacheName, Object key, com.jfinal.plugin.ehcache.IDataLoader dataLoader, int liveSeconds)
public static void putDataToCache(String cacheName, String cacheKey, Object data, int liveSeconds)
Copyright © 2024. All rights reserved.