Class HashedWheelTimerCloseable
java.lang.Object
org.opendaylight.controller.config.yang.netty.timer.HashedWheelTimerCloseable
- All Implemented Interfaces:
Timer
,AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static HashedWheelTimerCloseable
newInstance
(@Nullable Long duration, @Nullable Integer ticksPerWheel) static HashedWheelTimerCloseable
newInstance
(@Nullable ThreadFactory threadFactory, @Nullable Long duration, @Nullable Integer ticksPerWheel) newTimeout
(TimerTask task, long delay, TimeUnit unit) stop()
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
newTimeout
- Specified by:
newTimeout
in interfaceTimer
-
stop
-
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)
-