public abstract static class CallablesNano.NanoTimeoutCallable<T,EX extends Exception> extends Callables.TimeoutCallable<T,EX>
| Constructor and Description |
|---|
NanoTimeoutCallable(long timeoutNanos) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
call(long deadline) |
call, getDeadlinepublic abstract T call(long deadline) throws EX extends Exception, InterruptedException, TimeoutException
call in class Callables.TimeoutCallable<T,EX extends Exception>deadline - System.nanoTime deadline.EX extends ExceptionInterruptedExceptionTimeoutExceptionCopyright © 2018 SPF4J. All rights reserved.