public class NonstopExecutorServiceImpl extends Object implements NonstopExecutorService
PRINT_STACK_TRACE_ON_EXCEPTION_PROPERTY| Constructor and Description |
|---|
NonstopExecutorServiceImpl(ThreadFactory threadFactory)
Constructor accepting a
ThreadFactory that will be used to create threads for the pool |
public NonstopExecutorServiceImpl(ThreadFactory threadFactory)
ThreadFactory that will be used to create threads for the poolthreadFactory - public <V> V execute(Callable<V> callable, long timeoutValueInMillis) throws TimeoutException, CacheException, InterruptedException
Callable task with timeout. If the task does not complete within the timeout specified, throws a
TimeoutExceptionexecute in interface NonstopExecutorServiceTimeoutExceptionCacheExceptionInterruptedExceptionpublic void shutdown()
shutdown in interface NonstopExecutorServiceCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.