public class NoneCacheImpl extends Object implements JbootCache
| 限定符和类型 | 字段和说明 |
|---|---|
private JbootCacheConfig |
config |
| 构造器和说明 |
|---|
NoneCacheImpl(JbootCacheConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
addThreadCacheNamePrefixIngore(String cacheName) |
void |
clearThreadCacheNamePrefix() |
<T> T |
get(String cacheName,
Object key) |
<T> T |
get(String cacheName,
Object key,
com.jfinal.plugin.ehcache.IDataLoader dataLoader) |
<T> T |
get(String cacheName,
Object key,
com.jfinal.plugin.ehcache.IDataLoader dataLoader,
int liveSeconds) |
JbootCacheConfig |
getConfig() |
List |
getKeys(String cacheName) |
List |
getNames() |
Integer |
getTtl(String cacheName,
Object key) |
void |
put(String cacheName,
Object key,
Object value) |
void |
put(String cacheName,
Object key,
Object value,
int liveSeconds) |
void |
refresh(String cacheName) |
void |
refresh(String cacheName,
Object key) |
void |
remove(String cacheName,
Object key) |
void |
removeAll(String cacheName) |
boolean |
removeThreadCacheNamePrefixIngore(String cacheName) |
JbootCache |
setThreadCacheNamePrefix(String cacheNamePrefix) |
void |
setTtl(String cacheName,
Object key,
int seconds) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddThreadCacheNamePrefixIngoresprivate JbootCacheConfig config
public NoneCacheImpl(JbootCacheConfig config)
public JbootCache setThreadCacheNamePrefix(String cacheNamePrefix)
setThreadCacheNamePrefix 在接口中 JbootCachepublic void clearThreadCacheNamePrefix()
clearThreadCacheNamePrefix 在接口中 JbootCachepublic boolean addThreadCacheNamePrefixIngore(String cacheName)
addThreadCacheNamePrefixIngore 在接口中 JbootCachepublic boolean removeThreadCacheNamePrefixIngore(String cacheName)
removeThreadCacheNamePrefixIngore 在接口中 JbootCachepublic JbootCacheConfig getConfig()
getConfig 在接口中 JbootCachepublic <T> T get(String cacheName, Object key)
get 在接口中 com.jfinal.plugin.activerecord.cache.ICacheget 在接口中 JbootCachepublic void put(String cacheName, Object key, Object value)
put 在接口中 com.jfinal.plugin.activerecord.cache.ICacheput 在接口中 JbootCachepublic void put(String cacheName, Object key, Object value, int liveSeconds)
put 在接口中 JbootCachepublic void remove(String cacheName, Object key)
remove 在接口中 com.jfinal.plugin.activerecord.cache.ICacheremove 在接口中 JbootCachepublic void removeAll(String cacheName)
removeAll 在接口中 com.jfinal.plugin.activerecord.cache.ICacheremoveAll 在接口中 JbootCachepublic <T> T get(String cacheName, Object key, com.jfinal.plugin.ehcache.IDataLoader dataLoader)
get 在接口中 JbootCachepublic <T> T get(String cacheName, Object key, com.jfinal.plugin.ehcache.IDataLoader dataLoader, int liveSeconds)
get 在接口中 JbootCachepublic void setTtl(String cacheName, Object key, int seconds)
setTtl 在接口中 JbootCachepublic void refresh(String cacheName, Object key)
refresh 在接口中 JbootCachepublic void refresh(String cacheName)
refresh 在接口中 JbootCachepublic List getNames()
getNames 在接口中 JbootCachepublic List getKeys(String cacheName)
getKeys 在接口中 JbootCacheCopyright © 2024. All rights reserved.