Interface LogicalSlot.Payload
- All Known Implementing Classes:
Execution
- Enclosing interface:
- LogicalSlot
public static interface LogicalSlot.Payload
Payload for a logical slot.
-
Method Summary
Modifier and TypeMethodDescriptionvoidFail the payload with the given cause.Gets the terminal state future which is completed once the payload has reached a terminal state.
-
Method Details
-
fail
Fail the payload with the given cause.- Parameters:
cause- of the failure
-
getTerminalStateFuture
CompletableFuture<?> getTerminalStateFuture()Gets the terminal state future which is completed once the payload has reached a terminal state.- Returns:
- Terminal state future
-