| 程序包 | 说明 |
|---|---|
| com.jn.langx.cache | |
| com.jn.langx.util.timing.timer |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Holder<Timeout> |
BaseCache.refreshAllTimeoutHolder |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
BaseCache.refreshAllAsync(Timeout timeout) |
protected void |
AbstractCache.refreshAllAsync(Timeout timeout) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
TimeoutFactory<TIMER extends Timer,TIMEOUT extends Timeout> |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DistinctHashedWheelTimeout |
class |
HashedWheelTimeout |
| 限定符和类型 | 方法和说明 |
|---|---|
Timeout |
Timer.newTimeout(TimerTask task,
long delay,
TimeUnit unit)
Schedules the specified
TimerTask for one-time execution after
the specified delay. |
Timeout |
HashedWheelTimer.newTimeout(TimerTask task,
long delay,
TimeUnit unit) |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Timeout> |
Timer.stop()
Releases all resources acquired by this
Timer and cancels all
tasks which were scheduled but not executed yet. |
Set<Timeout> |
HashedWheelTimer.stop() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TimerTask.run(Timeout timeout)
Executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit). |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HashedWheelBucket.clearTimeouts(Set<Timeout> set)
Clear this bucket and return all not expired / cancelled
Timeouts. |
Copyright © 2022. All rights reserved.