public class SafeRun
extends Object
Static builders for SafeRunnables.
-
-
方法概要
static org.apache.bookkeeper.util.SafeRunnable
static org.apache.bookkeeper.util.SafeRunnable
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
方法详细资料
-
safeRun
public static org.apache.bookkeeper.util.SafeRunnable safeRun(Runnable runnable)
-
safeRun
- 参数:
runnable -
exceptionHandler - handler that will be called when there are any exception
- 返回: