Class HashedWheelTimerCloseable
java.lang.Object
org.opendaylight.controller.config.yang.netty.timer.HashedWheelTimerCloseable
- All Implemented Interfaces:
Timer,AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static HashedWheelTimerCloseablenewInstance(@Nullable Long duration, @Nullable Integer ticksPerWheel) static HashedWheelTimerCloseablenewInstance(@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:
closein interfaceAutoCloseable
-
newTimeout
- Specified by:
newTimeoutin 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)
-