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.
 
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 Restate.
 
 
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
 
 
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: 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: 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.
Log4j2 ContextDataProvider inferring context from HandlerRunner.SYSCALLS_THREAD_LOCAL.
 
 
 
Interface to abstract setting the logging context variables.
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.
 
Restate runner for JUnit 5.
Builder for RestateRunner.
Inject Restate's URL (either String or URL) to interact with the deployed runtime.
Result can be 3 valued: Empty Value Failure Empty and Value are used to distinguish the logical empty with the null result.
 
 
 
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 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.