public class AsyncHashedWheelTimer
extends io.netty.util.HashedWheelTimer
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
AsyncHashedWheelTimer.TaskFailedCallback |
| 构造器和说明 |
|---|
AsyncHashedWheelTimer(ThreadFactory threadFactory,
long tickDuration,
TimeUnit unit,
int ticksPerWheel,
ThreadFactory asyncThreadFactory,
AsyncHashedWheelTimer.TaskFailedCallback taskFailedCallback) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.util.Timeout |
newTimeout(io.netty.util.TimerTask task,
long delay,
TimeUnit unit) |
public AsyncHashedWheelTimer(ThreadFactory threadFactory, long tickDuration, TimeUnit unit, int ticksPerWheel, ThreadFactory asyncThreadFactory, AsyncHashedWheelTimer.TaskFailedCallback taskFailedCallback)
threadFactory - tickDuration - unit - ticksPerWheel - asyncThreadFactory - public io.netty.util.Timeout newTimeout(io.netty.util.TimerTask task,
long delay,
TimeUnit unit)
newTimeout 在接口中 io.netty.util.TimernewTimeout 在类中 io.netty.util.HashedWheelTimerCopyright © 2019 The Ant Financial. All rights reserved.