@FunctionalInterface public interface CheckedFunctionWithTimeout<INPUT,OUTPUT,THROWABLE extends Throwable>
| Modifier and Type | Method and Description |
|---|---|
OUTPUT |
apply(INPUT input,
TimeDuration timeout)
The same as
CheckedFunction.apply(Object)
except that this method has a timeout parameter and throws TimeoutException. |
OUTPUT apply(INPUT input, TimeDuration timeout) throws TimeoutException, THROWABLE extends Throwable
CheckedFunction.apply(Object)
except that this method has a timeout parameter and throws TimeoutException.TimeoutExceptionTHROWABLE extends ThrowableCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.