public interface NonstopExecutorService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PRINT_STACK_TRACE_ON_EXCEPTION_PROPERTY
System property name which if set to true prints stack trace of nonstop thread upon exception
|
Modifier and Type | Method and Description |
---|---|
<V> V |
execute(java.util.concurrent.Callable<V> callable,
long timeoutValueInMillis)
Execute a
Callable task with timeout. |
void |
shutdown()
Shut down this executor service
|
static final java.lang.String PRINT_STACK_TRACE_ON_EXCEPTION_PROPERTY
<V> V execute(java.util.concurrent.Callable<V> callable, long timeoutValueInMillis) throws java.util.concurrent.TimeoutException, CacheException, java.lang.InterruptedException
Callable
task with timeout. If the task does not complete within the timeout specified, throws a
TimeoutException
V
- callable
- timeoutValueInMillis
- java.util.concurrent.TimeoutException
CacheException
java.lang.InterruptedException
void shutdown()