Package | Description |
---|---|
cn.hutool.cache |
提供简易的缓存实现,此模块参考了jodd工具中的Cache模块
|
Modifier and Type | Method and Description |
---|---|
static <K,V> LFUCache<K,V> |
CacheUtil.newLFUCache(int capacity)
创建LFU(least frequently used) 最少使用率缓存.
|
static <K,V> LFUCache<K,V> |
CacheUtil.newLFUCache(int capacity,
long timeout)
创建LFU(least frequently used) 最少使用率缓存.
|
Copyright © 2024. All rights reserved.