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, getDeadline
public 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 Exception
InterruptedException
TimeoutException
Copyright © 2018 SPF4J. All rights reserved.