LegacyStateMachine
Legacy pure-Java StateMachine, used on JDK <23 or when the native shared-core library is unavailable/disabled. This is a deprecated fallback that will be removed in a future release; the native (FFM) state machine is the path that supports the latest Restate features.
Constructors
Link copied to clipboard
constructor(headersAccessor: HeadersAccessor, loggingContextSetter: EndpointRequestHandler.LoggingContextSetter)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun completeSignal(targetInvocationId: String, signalName: String, exception: TerminalException)
Link copied to clipboard
Link copied to clipboard
Make progress on the still-uncompleted await tree rooted at
future, or return
null when nothing is left to await (every node already resolved).Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Feed the next chunk of wire input.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun proposeRunCompletion(handle: Int, exception: Throwable, attemptDuration: Duration, @Nullable retryPolicy: @Nullable RetryPolicy)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Drain the next chunk of serialized output ready for the wire, or EMPTY when nothing is buffered.
Link copied to clipboard