public class CacheWrap extends Object implements org.noear.wood.cache.ICacheServiceEx, org.noear.solon.data.cache.CacheService
| 构造器和说明 |
|---|
CacheWrap(org.noear.wood.cache.ICacheServiceEx real) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
get(String key)
已过时。
2.5
|
<T> T |
get(String key,
Class<T> clz) |
<T> T |
get(String key,
Type toType) |
String |
getCacheKeyHead() |
int |
getDefalutSeconds() |
void |
remove(String key) |
void |
store(String key,
Object obj,
int seconds) |
static CacheWrap |
wrap(org.noear.wood.cache.ICacheServiceEx cache) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static CacheWrap wrap(org.noear.wood.cache.ICacheServiceEx cache)
public void store(String key, Object obj, int seconds)
store 在接口中 org.noear.solon.data.cache.CacheServicestore 在接口中 org.noear.wood.cache.ICacheService@Deprecated public Object get(String key)
get 在接口中 org.noear.wood.cache.ICacheServicepublic <T> T get(String key, Type toType)
get 在接口中 org.noear.solon.data.cache.CacheServiceget 在接口中 org.noear.wood.cache.ICacheServicepublic <T> T get(String key, Class<T> clz)
get 在接口中 org.noear.solon.data.cache.CacheServiceget 在接口中 org.noear.wood.cache.ICacheServicepublic void remove(String key)
remove 在接口中 org.noear.solon.data.cache.CacheServiceremove 在接口中 org.noear.wood.cache.ICacheServicepublic int getDefalutSeconds()
getDefalutSeconds 在接口中 org.noear.wood.cache.ICacheServicepublic String getCacheKeyHead()
getCacheKeyHead 在接口中 org.noear.wood.cache.ICacheServiceCopyright © 2024. All rights reserved.