ehcache

net.sf.ehcache.constructs.nonstop
Interface NonstopExecutorService

All Known Implementing Classes:
NonstopExecutorServiceImpl

public interface NonstopExecutorService

Author:
Abhishek Sanoujam

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

Method Detail

execute

<V> V execute(Callable<V> callable,
              long timeoutValueInMillis)
          throws TimeoutException,
                 CacheException,
                 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:
TimeoutException
CacheException
InterruptedException

shutdown

void shutdown()
Shut down this executor service


ehcache

true