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 newDurablePromiseKeyfor bytes state.name()static <T> DurablePromiseKey<T> Create a newDurablePromiseKey.static <T> DurablePromiseKey<T> Create a newDurablePromiseKey.
-
Method Details
-
of
Create a newDurablePromiseKey. -
of
Create a newDurablePromiseKey. -
bytes
Create a newDurablePromiseKeyfor bytes state. -
name
-
serdeInfo
-