Package dev.restate.sdk.endpoint.definition
package dev.restate.sdk.endpoint.definition
-
ClassDescriptionInternal interface to access Restate functionalities.Result of
HandlerContext.await(UnresolvedFuture).The invocation was aborted, e.g.One single of the awaited tree completed.The invocation was cancelled: the awaited tree should be completed as cancelled.Opaque handle to the result of an operation, returned by theHandlerContextoperations, and used to build theHandlerContext.UnresolvedFuture.Singlenodes of a future tree.Result of an operation.Node of a future tree, awaited withHandlerContext.await(UnresolvedFuture).Completes when all children succeed, or fails as soon as one child fails.Completes as soon as any child completes, either with success or failure.Node combining several children.Node mapping the result of theupstreamnode.Node completed by the result of itsHandlerContext.Handle, with no children.HandlerDefinition<REQ,RES> This class represents a Restate handler.Configurator for aHandlerDefinition.HandlerRunner<REQ,RES> Marker interface of runner options.Retry policy used by Restate when retrying failed handler invocations.Behavior when retry policy reachesInvocationRetryPolicy.maxAttempts()attempts.This class represents a Restate service.Configurator for aServiceDefinition.