A C D F G I N O R S T 
All Classes All Packages

A

all(Awaitable<?>, Awaitable<?>, Awaitable<?>...) - Static method in class dev.restate.sdk.Awaitable
 
any(Awaitable<?>, Awaitable<?>, Awaitable<?>...) - Static method in class dev.restate.sdk.Awaitable
 
AnyAwaitable - Class in dev.restate.sdk
 
authority() - Method in class dev.restate.sdk.GrpcChannelAdapter
 
await() - Method in class dev.restate.sdk.Awaitable
Wait for the current awaitable to complete.
await(Duration) - Method in class dev.restate.sdk.Awaitable
Same as Awaitable.await(), but throws a TimeoutException if this Awaitable doesn't complete before the provided timeout.
Awaitable<T> - Class in dev.restate.sdk
An Awaitable allows to await an asynchronous result.
awaitIndex() - Method in class dev.restate.sdk.AnyAwaitable
Same as Awaitable.await(), but returns the index.
awakeable(Serde<T>) - Method in interface dev.restate.sdk.RestateContext
Create an Awakeable, addressable through Awakeable.id().
Awakeable<T> - Class in dev.restate.sdk
An Awakeable is a special type of Awaitable which can be arbitrarily completed by another service, by addressing it with its Awakeable.id().
awakeableHandle(String) - Method in interface dev.restate.sdk.RestateContext
Create a new AwakeableHandle for the provided identifier.
AwakeableHandle - Interface in dev.restate.sdk
This class represents a handle to an Awakeable created in another service.

C

call(MethodDescriptor<T, R>, T) - Method in interface dev.restate.sdk.RestateContext
Invoke another Restate service method.
clear(StateKey<?>) - Method in interface dev.restate.sdk.RestateContext
Clears the state stored under key.

D

delayedCall(MethodDescriptor<T, ?>, T, Duration) - Method in interface dev.restate.sdk.RestateContext
Invoke another Restate service without waiting for the response after the provided delay has elapsed.
dev.restate.sdk - package dev.restate.sdk
 

F

fromSyscalls(Syscalls) - Static method in interface dev.restate.sdk.RestateContext
Build a RestateContext from the underlying Syscalls object.

G

get(StateKey<T>) - Method in interface dev.restate.sdk.RestateContext
Gets the state stored under key, deserializing the raw value using the Serde in the StateKey.
grpcChannel() - Method in interface dev.restate.sdk.RestateContext
Create a Channel to use with generated blocking stubs to invoke other Restate services.
GrpcChannelAdapter - Class in dev.restate.sdk
Channel adapter for gRPC Blocking stubs.

I

id() - Method in class dev.restate.sdk.Awakeable
 

N

newCall(MethodDescriptor<RequestT, ResponseT>, CallOptions) - Method in class dev.restate.sdk.GrpcChannelAdapter
 
next(int) - Method in class dev.restate.sdk.RestateRandom
 
nextUUID() - Method in class dev.restate.sdk.RestateRandom
 

O

oneWayCall(MethodDescriptor<T, ?>, T) - Method in interface dev.restate.sdk.RestateContext
Invoke another Restate service without waiting for the response.

R

random() - Method in interface dev.restate.sdk.RestateContext
 
reject(String) - Method in interface dev.restate.sdk.AwakeableHandle
Complete with failure the Awakeable.
resolve(Serde<T>, T) - Method in interface dev.restate.sdk.AwakeableHandle
Complete with success the Awakeable.
restateContext() - Method in interface dev.restate.sdk.RestateService
 
RestateContext - Interface in dev.restate.sdk
This interface exposes the Restate functionalities to Restate services.
RestateRandom - Class in dev.restate.sdk
Subclass of Random inherently predictable, seeded on the InvocationId, which is not secret.
RestateService - Interface in dev.restate.sdk
Marker interface for Restate services implemented using the RestateContext interface.

S

set(StateKey<T>, T) - Method in interface dev.restate.sdk.RestateContext
Sets the given value under the given key, serializing the value using the Serde in the StateKey.
setSeed(long) - Method in class dev.restate.sdk.RestateRandom
 
sideEffect(ThrowingRunnable) - Method in interface dev.restate.sdk.RestateContext
Like RestateContext.sideEffect(Serde, ThrowingSupplier), but without returning a value.
sideEffect(Serde<T>, ThrowingSupplier<T>) - Method in interface dev.restate.sdk.RestateContext
Execute a non-deterministic closure, recording the result value in the journal.
sleep(Duration) - Method in interface dev.restate.sdk.RestateContext
Causes the current execution of the function invocation to sleep for the given duration.

T

timer(Duration) - Method in interface dev.restate.sdk.RestateContext
Causes the start of a timer for the given duration.
A C D F G I N O R S T 
All Classes All Packages