Modifier and type | Action and description |
---|---|
static java.lang.Runnable | named(Runnable,String) Create a wrapper with a specific thread name. |
static SreCallable<T> | protectCallable(Callable<V>,Logger) Create a task with the given callable. |
static SreConsumer<T> | protectConsumer(Consumer<T>,Logger) Create a task with the given consumer. |
static SreRunnable | protectRunnable(Runnable,Logger) Create a task with the given runnable. |
def named(Runnable,String) : java.lang.Runnable
def protectCallable(Callable<V>,Logger) : SreCallable<T>with T
def protectConsumer(Consumer<T>,Logger) : SreConsumer<T>with T
def protectRunnable(Runnable,Logger) : SreRunnable