@Deprecated public abstract static class Callables.TimeoutCallable<T,EX extends Exception> extends Object implements Callables.CheckedCallable<T,EX>
| Constructor and Description |
|---|
TimeoutCallable(int timeoutMillis)
Deprecated.
|
TimeoutCallable(long deadline)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
T |
call()
Deprecated.
the method that is retried.
|
abstract T |
call(long deadline)
Deprecated.
|
long |
getDeadline()
Deprecated.
|
public TimeoutCallable(int timeoutMillis)
public TimeoutCallable(long deadline)
public final T call() throws EX extends Exception, InterruptedException, TimeoutException
Callables.CheckedCallablecall in interface Callable<T>call in interface Callables.CheckedCallable<T,EX extends Exception>EX extends ExceptionInterruptedExceptionTimeoutExceptionpublic abstract T call(long deadline) throws EX extends Exception, InterruptedException, TimeoutException
deadline - millis since epoch.EX extends ExceptionInterruptedExceptionTimeoutExceptionpublic final long getDeadline()
Copyright © 2018 SPF4J. All rights reserved.