public class EmptyCacheService extends java.lang.Object implements CacheService
构造器和说明 |
---|
EmptyCacheService() |
限定符和类型 | 方法和说明 |
---|---|
<T> T |
get(java.lang.String key,
java.lang.reflect.Type type)
获取
|
void |
remove(java.lang.String key)
移除
|
void |
store(java.lang.String key,
java.lang.Object obj,
int seconds)
保存
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getOrStore
public void store(java.lang.String key, java.lang.Object obj, int seconds)
CacheService
store
在接口中 CacheService
key
- 缓存键obj
- 对象seconds
- 秒数public void remove(java.lang.String key)
CacheService
remove
在接口中 CacheService
key
- 缓存键public <T> T get(java.lang.String key, java.lang.reflect.Type type)
CacheService
get
在接口中 CacheService
key
- 缓存键