public final class SafeRecurringTask
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Method and Description |
---|---|
void |
run() |
static SafeRecurringTask |
wrap(java.lang.Runnable runnable)
Wraps a runnable in a safe recurring task.
|
public void run()
run
in interface java.lang.Runnable
public static SafeRecurringTask wrap(java.lang.Runnable runnable)
runnable
- runnable to wrap