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
TimeoutException
execute
in interface NonstopExecutorService
TimeoutException
CacheException
InterruptedException
public void shutdown()
shutdown
in interface NonstopExecutorService
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.