ehcache

net.sf.ehcache.constructs.nonstop
Interface NonstopExecutorService

All Known Implementing Classes:
NonstopExecutorServiceImpl

public interface NonstopExecutorService

Author:
Abhishek Sanoujam

Method Summary
<V> V
execute(java.util.concurrent.Callable<V> callable, long timeoutValueInMillis)
          Execute a Callable task with timeout.
 void shutdown()
          Shut down this executor service
 

Method Detail

execute

<V> V execute(java.util.concurrent.Callable<V> callable,
              long timeoutValueInMillis)
          throws java.util.concurrent.TimeoutException,
                 CacheException,
                 java.lang.InterruptedException
Execute a Callable task with timeout. If the task does not complete within the timeout specified, throws a TimeoutException

Type Parameters:
V -
Parameters:
callable -
timeoutValueInMillis -
Returns:
the return value from the callable
Throws:
java.util.concurrent.TimeoutException
CacheException
java.lang.InterruptedException

shutdown

void shutdown()
Shut down this executor service


ehcache

true