public static interface LogicalSlot.Payload
Modifier and Type | Method and Description |
---|---|
void |
fail(Throwable cause)
Fail the payload with the given cause.
|
CompletableFuture<?> |
getTerminalStateFuture()
Gets the terminal state future which is completed once the payload has reached a terminal
state.
|
void fail(Throwable cause)
cause
- of the failureCompletableFuture<?> getTerminalStateFuture()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.