Package dev.restate.sdk.common
Class DurablePromiseKey<T>
java.lang.Object
dev.restate.sdk.common.DurablePromiseKey<T>
- Type Parameters:
T
- the generic type of the signal.
This class holds information about durable promise's name and its type tag to be used for
serializing and deserializing it.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DurablePromiseKey
<byte[]> Create a newDurablePromiseKey
for bytes state.name()
static <T> DurablePromiseKey
<T> Create a newDurablePromiseKey
.serde()
-
Method Details
-
of
Create a newDurablePromiseKey
. -
bytes
Create a newDurablePromiseKey
for bytes state. -
name
-
serde
-