| 程序包 | 说明 |
|---|---|
| com.jn.langx.cache | |
| com.jn.langx.configuration | |
| com.jn.langx.util.timing.timer |
| 限定符和类型 | 方法和说明 |
|---|---|
CacheBuilder<K,V> |
CacheBuilder.evictExpiredInterval(long evictExpiredIntervalInMills,
Timer timer)
Set the period of global evict, default : Long.MAX_VALUE
unit: mills
|
void |
AbstractCache.setTimer(Timer timer) |
CacheBuilder<K,V> |
CacheBuilder.timer(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) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HashedWheelTimer
A
Timer optimized for approximated I/O timeout scheduling. |
| 限定符和类型 | 方法和说明 |
|---|---|
Timer |
Timeout.timer()
Returns the
Timer that created this handle. |
Copyright © 2021. All rights reserved.