public static class MatsFuturizer.MatsFuturizerTimeoutException
extends java.lang.RuntimeException
CompletableFuture
if the timeout specified when getting the
CompletableFuture
is reached (to get yourself a future, use one of the
futurizeXYZ(..)
methods). The exception is
passed to the waiter on the future by CompletableFuture.completeExceptionally(Throwable)
, where the
consumer can pick it up with e.g. CompletableFuture.exceptionally(Function)
.Constructor and Description |
---|
MatsFuturizerTimeoutException(java.lang.String message,
long initiationTimestamp,
java.lang.String traceId) |
Modifier and Type | Method and Description |
---|---|
long |
getInitiationTimestamp() |
java.lang.String |
getTraceId() |