public class EmptyCacheService extends Object implements CacheService
| Constructor and Description |
|---|
EmptyCacheService() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(String key,
Type type)
获取
|
void |
remove(String key)
移除
|
void |
store(String key,
Object obj,
int seconds)
保存
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getOrStorepublic void store(String key, Object obj, int seconds)
CacheServicestore in interface CacheServicekey - 缓存键obj - 对象seconds - 秒数public void remove(String key)
CacheServiceremove in interface CacheServicekey - 缓存键public <T> T get(String key, Type type)
CacheServiceget in interface CacheServicekey - 缓存键Copyright © 2025. All rights reserved.