Class AgentStateSerializer
java.lang.Object
org.bsc.langgraph4j.serializer.StateSerializer<State>
org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer<AgentExecutor.State>
org.bsc.spring.agentexecutor.serializer.std.AgentStateSerializer
- All Implemented Interfaces:
Serializer<AgentExecutor.State>
This class is responsible for serializing and deserializing the state of an agent executor.
It extends
ObjectStreamStateSerializer
for handling the serialization of the AgentExecutor.State object.-
Constructor Summary
ConstructorDescriptionConstructor that initializes the serializer with a supplier for creating new AgentExecutor.State instances and registers various serializers for different types. -
Method Summary
Methods inherited from class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
mapper, read, write
Methods inherited from class org.bsc.langgraph4j.serializer.StateSerializer
cloneObject, stateFactory, stateOf
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bsc.langgraph4j.serializer.Serializer
cloneObject, mimeType, readObject, writeObject
-
Constructor Details
-
AgentStateSerializer
public AgentStateSerializer()Constructor that initializes the serializer with a supplier for creating new AgentExecutor.State instances and registers various serializers for different types.
-