Package | Description |
---|---|
cn.hutool.cache |
提供简易的缓存实现,此模块参考了jodd工具中的Cache模块
|
cn.hutool.cache.impl |
提供各种缓存实现
|
Modifier and Type | Method and Description |
---|---|
Iterator<CacheObj<K,V>> |
Cache.cacheObjIterator()
返回包含键和值得迭代器
|
Modifier and Type | Field and Description |
---|---|
protected Map<Mutable<K>,CacheObj<K,V>> |
AbstractCache.cacheMap |
Modifier and Type | Method and Description |
---|---|
protected CacheObj<K,V> |
AbstractCache.getWithoutLock(K key)
获取键对应的
CacheObj |
CacheObj<K,V> |
CacheObjIterator.next() |
protected CacheObj<K,V> |
AbstractCache.removeWithoutLock(K key)
移除key对应的对象,不加锁
|
Modifier and Type | Method and Description |
---|---|
protected Iterator<CacheObj<K,V>> |
AbstractCache.cacheObjIter()
|
Iterator<CacheObj<K,V>> |
StampedCache.cacheObjIterator() |
Iterator<CacheObj<K,V>> |
ReentrantCache.cacheObjIterator() |
Iterator<CacheObj<K,V>> |
NoCache.cacheObjIterator() |
Constructor and Description |
---|
TimedCache(long timeout,
Map<Mutable<K>,CacheObj<K,V>> map)
构造
|
Copyright © 2024. All rights reserved.