public static interface LogicalSlot.Payload
| 限定符和类型 | 方法和说明 |
|---|---|
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–2023 The Apache Software Foundation. All rights reserved.