public final class HashedWheelTimerCloseable extends Object implements AutoCloseable, io.netty.util.Timer
Modifier and Type | Method and Description |
---|---|
void |
close() |
static HashedWheelTimerCloseable |
newInstance(ThreadFactory threadFactory,
Long duration,
Integer ticksPerWheel) |
io.netty.util.Timeout |
newTimeout(io.netty.util.TimerTask task,
long delay,
TimeUnit unit) |
Set<io.netty.util.Timeout> |
stop() |
public void close()
close
in interface AutoCloseable
public io.netty.util.Timeout newTimeout(io.netty.util.TimerTask task, long delay, TimeUnit unit)
newTimeout
in interface io.netty.util.Timer
public Set<io.netty.util.Timeout> stop()
stop
in interface io.netty.util.Timer
public static HashedWheelTimerCloseable newInstance(@Nullable ThreadFactory threadFactory, @Nullable Long duration, @Nullable Integer ticksPerWheel)
Copyright © 2019 OpenDaylight. All rights reserved.