Class StateMachineContextSerializer<S,E>
java.lang.Object
com.esotericsoftware.kryo.Serializer<StateMachineContext<S,E>>
org.springframework.statemachine.kryo.StateMachineContextSerializer<S,E>
- Type Parameters:
S- the type of stateE- the type of event
public class StateMachineContextSerializer<S,E>
extends com.esotericsoftware.kryo.Serializer<StateMachineContext<S,E>>
Kryo
Serializer for StateMachineContext.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<StateMachineContext<S, E>> clazz) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, StateMachineContext<S, E> context) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
StateMachineContextSerializer
public StateMachineContextSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, StateMachineContext<S, E> context) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<StateMachineContext<S,E>>
-
read
public StateMachineContext<S,E> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<StateMachineContext<S, E>> clazz) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<StateMachineContext<S,E>>
-