Class HashedWheelTimerCloseable
- java.lang.Object
-
- org.opendaylight.controller.config.yang.netty.timer.HashedWheelTimerCloseable
-
- All Implemented Interfaces:
Timer
,AutoCloseable
public final class HashedWheelTimerCloseable extends Object implements AutoCloseable, Timer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static HashedWheelTimerCloseable
newInstance(@Nullable Long duration, @Nullable Integer ticksPerWheel)
static HashedWheelTimerCloseable
newInstance(@Nullable ThreadFactory threadFactory, @Nullable Long duration, @Nullable Integer ticksPerWheel)
Timeout
newTimeout(TimerTask task, long delay, TimeUnit unit)
Set<Timeout>
stop()
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
newTimeout
public Timeout newTimeout(TimerTask task, long delay, TimeUnit unit)
- Specified by:
newTimeout
in interfaceTimer
-
newInstance
public static HashedWheelTimerCloseable newInstance(@Nullable Long duration, @Nullable Integer ticksPerWheel)
-
newInstance
public static HashedWheelTimerCloseable newInstance(@Nullable ThreadFactory threadFactory, @Nullable Long duration, @Nullable Integer ticksPerWheel)
-
-