56
57
public <V> V execute(final Callable<V> callable, final long timeoutValueInMillis) throws TimeoutException, CacheException,
61
+ callable + ", timeoutMillis: " + timeoutValueInMillis + ", current thread: " + Thread.currentThread().getName());
60
65
long startTime = System.nanoTime();
64
70
result = nonstopThreadPool.submit(callable).get(timeoutValueInMillis, TimeUnit.MILLISECONDS);
66
73
} catch (InterruptedException e) {
67
74
// XXX: do something here?