| 程序包 | 说明 |
|---|---|
| com.github.houbb.cache.api |
| 限定符和类型 | 方法和说明 |
|---|---|
ICache<K,V> |
ICacheInterceptorContext.cache()
缓存信息
|
ICache<K,V> |
ICacheEvictContext.cache()
cache 实现
|
ICache<K,V> |
ICache.expire(K key,
long timeInMills)
设置过期时间
(1)如果 key 不存在,则什么都不做。
|
ICache<K,V> |
ICache.expireAt(K key,
long timeInMills)
在指定的时间过期
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ICacheLoad.load(ICache<K,V> cache)
加载缓存信息
|
void |
ICachePersist.persist(ICache<K,V> cache)
持久化缓存信息
|
Copyright © 2020. All rights reserved.