public interface ICacheEvict<K,V>
| 限定符和类型 | 方法和说明 |
|---|---|
ICacheEntry<K,V> |
evict(ICacheContext<K,V> cacheContext,
K newKey)
驱除
|
void |
removeKey(ICacheContext<K,V> cacheContext,
K evictKey)
删除 key 信息
|
void |
updateKey(ICacheContext<K,V> cacheContext,
K evictKey)
更新 key 信息
|
ICacheEntry<K,V> evict(ICacheContext<K,V> cacheContext, K newKey)
cacheContext - 上下文newKey - 新添加的 Keyvoid updateKey(ICacheContext<K,V> cacheContext, K evictKey)
cacheContext - 上下文evictKey - keyvoid removeKey(ICacheContext<K,V> cacheContext, K evictKey)
cacheContext - 上下文evictKey - keyCopyright © 2025. All rights reserved.