All Classes and Interfaces

Class
Description
You MUST NOT catch this exception.
Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
Define the acceptable content type.
 
 
Configuration and utility class for API clients.
 
API response returned by API call.
An Awaitable allows to await an asynchronous result.
An Awakeable is a special type of Awaitable which can be arbitrarily completed by another service, by addressing it with its Awakeable.id().
This class represents a handle to an Awakeable created in another service.
Base implementation of a Lambda handler to execute restate services
 
 
 
This class represents a handle to an Awakeable.
 
 
 
 
This interface exposes the Restate functionalities to Restate services.
CreateSubscriptionRequest
 
Interface to define interaction with deferred results.
 
 
 
 
DeploymentResponseAnyOf
DeploymentResponseAnyOf1
 
 
 
 
Service discovery protocol version.
A DurablePromise is a durable, distributed version of a CompletableFuture.
This class represents a handle to an DurablePromise created in another handler.
This class holds information about durable promise's name and its type tag to be used for serializing and deserializing it.
Add this annotation in your application class next to the SpringBootApplication annotation to enable the Restate Spring features.
Endpoint
ProtocolMode
 
Error details of the response
Defines a method as an exclusive handler, as opposed to Shared handlers.
 
 
Annotate a method as Restate handler.
Handler
 
 
HandlerType
 
HandlerMetadata
Gets or Sets HandlerMetadataType
 
Adapter class for HandlerRunner to use the Java API.
 
 
 
 
 
 
InputPayload
 
 
 
 
 
 
This represents a stable identifier created by Restate for this invocation.
 
 
Serde implementations for Jackson.
 
Type: 0xFC00 + 0
Type: 0xFC00 + 0
 
Serialize/Deserialize the annotated element as Json
 
Collection of common serializers/deserializers.
ListDeploymentsResponse
ListServiceHandlersResponse
ListServicesResponse
ListSubscriptionsResponse
Manual runner for the Restate test infra, starting the Restate server container together with the provided services and automatically registering them.
 
 
Custom metadata of this handler definition.
Custom metadata of this service definition.
ModifyServiceRequest
ModifyServiceStateRequest
This interface can be used only within exclusive handlers of virtual objects.
 
This class is similar to Optional, but allows null values.
OutputPayload
 
 
Preview of new context features.
Collection of serializers/deserializers for Protobuf
 
Completable: Yes Fallible: No Type: 0x0C00 + 3 Awakeables are addressed by an identifier exposed to the user.
Completable: Yes Fallible: No Type: 0x0C00 + 3 Awakeables are addressed by an identifier exposed to the user.
 
 
Completable: Yes Fallible: Yes Type: 0x0C00 + 1
Completable: Yes Fallible: Yes Type: 0x0C00 + 1
 
 
Completable: No Fallible: Yes Type: 0x0C00 + 6
Completable: No Fallible: Yes Type: 0x0C00 + 6
 
 
Completable: No Fallible: No Type: 0x0800 + 3
Completable: No Fallible: No Type: 0x0800 + 3
 
Completable: No Fallible: No Type: 0x0800 + 2
Completable: No Fallible: No Type: 0x0800 + 2
 
Completable: No Fallible: Yes Type: 0x0C00 + 4
Completable: No Fallible: Yes Type: 0x0C00 + 4
 
 
Completable: Yes Fallible: No Type: 0x0800 + A
Completable: Yes Fallible: No Type: 0x0800 + A
 
 
 
Type: 0x0000 + 1
Type: 0x0000 + 1
 
 
Protobuf type dev.restate.service.protocol.Empty
Protobuf type dev.restate.service.protocol.Empty
 
Type: 0x0000 + 5 Implementations MUST send this message when the invocation lifecycle ends.
Type: 0x0000 + 5 Implementations MUST send this message when the invocation lifecycle ends.
 
Type: 0x0000 + 4
Type: 0x0000 + 4
 
Type: 0x0000 + 3
Type: 0x0000 + 3
 
This failure object carries user visible errors, e.g.
This failure object carries user visible errors, e.g.
 
Completable: Yes Fallible: Yes Type: 0x0C00 + 7
Completable: Yes Fallible: Yes Type: 0x0C00 + 7
 
 
Completable: Yes Fallible: No Type: 0x0800 + 8
Completable: Yes Fallible: No Type: 0x0800 + 8
 
 
Completable: Yes Fallible: No Type: 0x0800 + 0
Completable: Yes Fallible: No Type: 0x0800 + 0
 
 
Completable: Yes Fallible: No Type: 0x0800 + 4
Completable: Yes Fallible: No Type: 0x0800 + 4
 
Protobuf type dev.restate.service.protocol.GetStateKeysEntryMessage.StateKeys
Protobuf type dev.restate.service.protocol.GetStateKeysEntryMessage.StateKeys
 
 
Protobuf type dev.restate.service.protocol.Header
Protobuf type dev.restate.service.protocol.Header
 
Completable: No Fallible: No Type: 0x0400 + 0
Completable: No Fallible: No Type: 0x0400 + 0
 
Completable: No Fallible: Yes Type: 0x0C00 + 2
Completable: No Fallible: Yes Type: 0x0C00 + 2
 
Completable: No Fallible: No Type: 0x0400 + 1
Completable: No Fallible: No Type: 0x0400 + 1
 
 
Completable: Yes Fallible: No Type: 0x0800 + 9
Completable: Yes Fallible: No Type: 0x0800 + 9
 
 
Completable: No Fallible: No Type: 0x0C00 + 5 Flag: RequiresRuntimeAck
Completable: No Fallible: No Type: 0x0C00 + 5 Flag: RequiresRuntimeAck
 
 
Service protocol version.
Completable: No Fallible: No Type: 0x0800 + 1
Completable: No Fallible: No Type: 0x0800 + 1
 
Completable: Yes Fallible: No Type: 0x0C00 + 0
Completable: Yes Fallible: No Type: 0x0C00 + 0
 
 
Type: 0x0000 + 0
Type: 0x0000 + 0
Protobuf type dev.restate.service.protocol.StartMessage.StateEntry
Protobuf type dev.restate.service.protocol.StartMessage.StateEntry
 
 
Type: 0x0000 + 2 Implementations MUST send this message when suspending an invocation.
Type: 0x0000 + 2 Implementations MUST send this message when suspending an invocation.
 
 
Gets or Sets ProtocolType
Skip serialization/deserialization of the annotated element.
 
 
 
RegisterDeploymentRequestAnyOf
RegisterDeploymentRequestAnyOf1
RegisterDeploymentResponse
The Request object represents the incoming request to an handler.
Interface to verify requests.
Abstraction for headers map.
 
Resolved handler for an invocation.
Inject the Restate ApiClient, useful to build admin clients, such as DeploymentApi.
Inject a Client to interact with the deployed runtime.
Configuration for Restate's Client, to send requests to Restate services.
 
Add this annotation to a class annotated with Restate's Service or VirtualObject or Workflow to bind them to the Restate HTTP Endpoint.
Log4j2 ContextDataProvider inferring context from HandlerRunner.SYSCALLS_THREAD_LOCAL.
 
 
 
Interface to abstract setting the logging context variables.
 
 
 
Restate HTTP Endpoint serving RestateComponent.
Endpoint builder for a Restate HTTP Endpoint using Vert.x, to serve Restate services.
Restate Lambda Endpoint.
Endpoint builder for a Restate AWS Lambda Endpoint, to serve Restate service.
Subclass of Random inherently predictable, seeded on the InvocationId, which is not secret.
 
Deprecated.
We now recommend using RestateTest.
Builder for RestateRunner.
Proxy annotation for Service, to avoid naming clashes with Spring's built in annotations
Annotation to enable the Restate extension for JUnit 5.
Inject Restate's URL (either String or URL or URI) to interact with the deployed server.
Proxy annotation for VirtualObject.
Proxy annotation for Workflow.
Result can be 3 valued: Empty Value Failure Empty and Value are used to distinguish the logical empty with the null result.
Retry policy configuration.
 
Richer version of Serde containing schema information.
 
 
Interface defining serialization and deserialization of concrete types.
Representing a Server configuration.
Representing a Server Variable for server URL template substitution.
Annotation to define a class/interface as Restate Service.
Service
 
 
ServiceType
 
 
 
 
ServiceMetadata
ServiceNameRevPair
 
Gets or Sets ServiceType
 
Defines a method as a Shared handler.
This interface can be used only within shared handlers of virtual objects.
This interface can be used only within shared handlers of workflow.
This class holds information about state's name and its type tag to be used for serializing and deserializing it.
 
SubscriptionResponse
 
Internal interface to access Restate functionalities.
 
Represents an invocation target.
When thrown in a Restate service method, it will complete the invocation with an error.
Gets or Sets TerminationMode
Like BiConsumer but can throw checked exceptions.
Like BiFunction but can throw checked exceptions.
Like Consumer but can throw checked exceptions.
Like Function but can throw checked exceptions.
Like Runnable but can throw checked exceptions.
Like Supplier but can throw checked exceptions.
 
 
Annotation to define a class/interface as Restate VirtualObject.
Annotation to define a class/interface as Restate Workflow.
This interface can be used only within workflow handlers of workflow.