Package dev.restate.sdk
package dev.restate.sdk
-
ClassDescriptionAwaitable<T>An
Awaitable
allows to await an asynchronous result.Awakeable<T>AnAwakeable
is a special type ofAwaitable
which can be arbitrarily completed by another service, by addressing it with itsAwakeable.id()
.This class represents a handle to anAwakeable
created in another service.This interface exposes the Restate functionalities to Restate services.ADurablePromise
is a durable, distributed version of aCompletableFuture
.This class represents a handle to anDurablePromise
created in another handler.HandlerRunner<REQ,RES> Adapter class forHandlerRunner
to use the Java API.Collection of common serializers/deserializers.This interface can be used only within exclusive handlers of virtual objects.Preview of new context features.Subclass ofRandom
inherently predictable, seeded on theInvocationId
, which is not secret.This interface can be used only within shared handlers of virtual objects.This interface can be used only within shared handlers of workflow.This interface can be used only within workflow handlers of workflow.