Package | Description |
---|---|
cn.hutool.cache |
提供简易的缓存实现,此模块参考了jodd工具中的Cache模块
|
Modifier and Type | Method and Description |
---|---|
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.