public class ManagedExecutors extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isCurrentThreadShutdown() |
static <V> Callable<V> |
managedTask(Callable<V> task,
ManagedTaskListener taskListener) |
static <V> Callable<V> |
managedTask(Callable<V> task,
Map<String,String> executionProperties,
ManagedTaskListener taskListener) |
static Runnable |
managedTask(Runnable task,
ManagedTaskListener taskListener) |
static Runnable |
managedTask(Runnable task,
Map<String,String> executionProperties,
ManagedTaskListener taskListener) |
public static boolean isCurrentThreadShutdown()
public static <V> Callable<V> managedTask(Callable<V> task, ManagedTaskListener taskListener) throws IllegalArgumentException
IllegalArgumentException
public static <V> Callable<V> managedTask(Callable<V> task, Map<String,String> executionProperties, ManagedTaskListener taskListener) throws IllegalArgumentException
IllegalArgumentException
public static Runnable managedTask(Runnable task, ManagedTaskListener taskListener) throws IllegalArgumentException
IllegalArgumentException
public static Runnable managedTask(Runnable task, Map<String,String> executionProperties, ManagedTaskListener taskListener) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2017 JBoss by Red Hat. All rights reserved.