public class CacheServiceWrap extends Object implements org.noear.solon.data.cache.CacheService, org.noear.wood.cache.ICacheServiceEx
| 构造器和说明 |
|---|
CacheServiceWrap(org.noear.solon.data.cache.CacheService real) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
get(String key) |
<T> T |
get(String key,
Class<T> clz) |
String |
getCacheKeyHead() |
int |
getDefalutSeconds() |
void |
remove(String key) |
void |
store(String key,
Object obj,
int seconds) |
public void store(String key, Object obj, int seconds)
store 在接口中 org.noear.solon.data.cache.CacheServicestore 在接口中 org.noear.wood.cache.ICacheServicepublic Object get(String key)
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 © 2023. All rights reserved.