- Type Parameters:
T - the generic type of the state.
public final class StateKey<T>
extends Object
This class holds information about state's name and its type tag to be used for serializing and
deserializing it.
-
Method Summary
of(String name,
dev.restate.serde.TypeTag<T> serde)
dev.restate.serde.TypeTag<T>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
of
public static <T> StateKey<T> of(String name,
dev.restate.serde.TypeTag<T> serde)
-
-
-
-
serdeInfo
public dev.restate.serde.TypeTag<T> serdeInfo()