A C D F G I N O R S T
All Classes All Packages
All Classes All Packages
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 aTimeoutExceptionif thisAwaitabledoesn't complete before the providedtimeout. - Awaitable<T> - Class in dev.restate.sdk
-
An
Awaitableallows 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 throughAwakeable.id(). - Awakeable<T> - Class in dev.restate.sdk
-
An
Awakeableis a special type ofAwaitablewhich can be arbitrarily completed by another service, by addressing it with itsAwakeable.id(). - awakeableHandle(String) - Method in interface dev.restate.sdk.RestateContext
-
Create a new
AwakeableHandlefor the provided identifier. - AwakeableHandle - Interface in dev.restate.sdk
-
This class represents a handle to an
Awakeablecreated 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
delayhas 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
Syscallsobject.
G
- get(StateKey<T>) - Method in interface dev.restate.sdk.RestateContext
-
Gets the state stored under key, deserializing the raw value using the
Serdein theStateKey. - grpcChannel() - Method in interface dev.restate.sdk.RestateContext
-
Create a
Channelto use with generated blocking stubs to invoke other Restate services. - GrpcChannelAdapter - Class in dev.restate.sdk
-
Channel adapter for gRPC Blocking stubs.
I
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
Randominherently predictable, seeded on theInvocationId, which is not secret. - RestateService - Interface in dev.restate.sdk
-
Marker interface for Restate services implemented using the
RestateContextinterface.
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
Serdein theStateKey. - 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.
All Classes All Packages