public class CacheWrap extends Object implements org.noear.weed.cache.ICacheServiceEx, org.noear.solon.data.cache.CacheService
| 构造器和说明 |
|---|
CacheWrap(org.noear.weed.cache.ICacheServiceEx real) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
get(String key) |
String |
getCacheKeyHead() |
int |
getDefalutSeconds() |
void |
remove(String key) |
void |
store(String key,
Object obj,
int seconds) |
static CacheWrap |
wrap(org.noear.weed.cache.ICacheServiceEx cache) |
public static CacheWrap wrap(org.noear.weed.cache.ICacheServiceEx cache)
public void store(String key, Object obj, int seconds)
store 在接口中 org.noear.solon.data.cache.CacheServicestore 在接口中 org.noear.weed.cache.ICacheServicepublic Object get(String key)
get 在接口中 org.noear.solon.data.cache.CacheServiceget 在接口中 org.noear.weed.cache.ICacheServicepublic void remove(String key)
remove 在接口中 org.noear.solon.data.cache.CacheServiceremove 在接口中 org.noear.weed.cache.ICacheServicepublic int getDefalutSeconds()
getDefalutSeconds 在接口中 org.noear.weed.cache.ICacheServicepublic String getCacheKeyHead()
getCacheKeyHead 在接口中 org.noear.weed.cache.ICacheServiceCopyright © 2021. All rights reserved.