| 程序包 | 说明 |
|---|---|
| org.dromara.hutool.core.cache |
提供简易的缓存实现,此模块参考了jodd工具中的Cache模块
|
| org.dromara.hutool.core.cache.impl |
提供各种缓存实现
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> WeakCache<K,V> |
CacheUtil.newWeakCache(long timeout)
创建弱引用缓存.
|
| 限定符和类型 | 方法和说明 |
|---|---|
WeakCache<K,V> |
WeakCache.setListener(CacheListener<K,V> listener) |
Copyright © 2024. All rights reserved.