| 程序包 | 说明 |
|---|---|
| com.jn.langx.cache | |
| com.jn.langx.configuration | |
| com.jn.langx.util.timing.timer |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Timer |
BaseCache.timer |
| 限定符和类型 | 方法和说明 |
|---|---|
CacheBuilder<K,V> |
CacheBuilder.evictExpiredInterval(long evictExpiredIntervalInMills,
Timer timer)
已过时。
|
void |
AbstractCache.setTimer(Timer timer) |
CacheBuilder<K,V> |
CacheBuilder.timer(Timer timer) |
| 构造器和说明 |
|---|
AbstractCache(int maxCapacity,
long evictExpiredInterval,
long refreshAllInterval,
Timer timer) |
AbstractCache(int maxCapacity,
long evictExpiredInterval,
Timer timer) |
FIFOCache(int maxCapacity,
long evictExpiredInterval,
Timer timer) |
LRUCache(int maxCapacity,
long evictExpiredInterval,
Timer timer) |
| 限定符和类型 | 方法和说明 |
|---|---|
Timer |
AbstractConfigurationRepository.getTimer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AbstractConfigurationRepository.setTimer(Timer timer) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
TimeoutFactory<TIMER extends Timer,TIMEOUT extends Timeout> |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HashedWheelTimer
A
Timer optimized for approximated I/O timeout scheduling. |
| 限定符和类型 | 方法和说明 |
|---|---|
Timer |
Timeout.timer()
Returns the
Timer that created this handle. |
Timer |
HashedWheelTimeout.timer() |
Copyright © 2022. All rights reserved.