Package org.onlab.util
Class SafeRecurringTask
- java.lang.Object
-
- org.onlab.util.SafeRecurringTask
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
static SafeRecurringTask
wrap(Runnable runnable)
Wraps a runnable in a safe recurring task.
-
-
-
Method Detail
-
wrap
public static SafeRecurringTask wrap(Runnable runnable)
Wraps a runnable in a safe recurring task.- Parameters:
runnable
- runnable to wrap- Returns:
- safe recurring task
-
-