Integrate MRI projects for Neon
[controller.git] / opendaylight / config / netty-timer-config / src / main / java / org / opendaylight / controller / config / yang / netty / timer / HashedWheelTimerCloseable.java
index e7b09159259e68c20c5bc74c9de8380056b28e2d..de187bbe9b88cb3214478f71f66c2aaff5e8b5b2 100644 (file)
@@ -39,6 +39,11 @@ public final class HashedWheelTimerCloseable implements AutoCloseable, Timer {
         return this.timer.stop();
     }
 
+    public static HashedWheelTimerCloseable newInstance(@Nullable final Long duration,
+            @Nullable final Integer ticksPerWheel) {
+        return newInstance(null, duration, ticksPerWheel);
+    }
+
     public static HashedWheelTimerCloseable newInstance(@Nullable final ThreadFactory threadFactory,
             @Nullable final Long duration, @Nullable final Integer ticksPerWheel) {
         TimeUnit unit = TimeUnit.MILLISECONDS;