| Package | Description |
|---|---|
| org.tio.utils.cache |
| Modifier and Type | Field and Description |
|---|---|
protected Map<K,CacheObj<K,V>> |
AbstractCache.cacheMap
数据实际存储 map
|
| Modifier and Type | Method and Description |
|---|---|
protected CacheObj<K,V> |
AbstractCache.getWithoutLock(K key)
获取键对应的
CacheObj |
protected CacheObj<K,V> |
AbstractCache.removeWithoutLock(K key)
移除key对应的对象,不加锁
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<CacheObj<K,V>> |
AbstractCache.cacheObjIter()
|
| Constructor and Description |
|---|
TimedCache(long ttl,
long cleanupMs,
Map<K,CacheObj<K,V>> map)
构造
|
TimedCache(long ttl,
Map<K,CacheObj<K,V>> map)
构造
|
Copyright © 2025. All rights reserved.