| 程序包 | 说明 |
|---|---|
| org.dromara.hutool.core.cache |
提供简易的缓存实现,此模块参考了jodd工具中的Cache模块
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> FIFOCache<K,V> |
CacheUtil.newFIFOCache(int capacity)
创建FIFO(first in first out) 先进先出缓存.
|
static <K,V> FIFOCache<K,V> |
CacheUtil.newFIFOCache(int capacity,
long timeout)
创建FIFO(first in first out) 先进先出缓存.
|
Copyright © 2024. All rights reserved.