Package com.esotericsoftware.kryo
-
Interface Summary Interface Description ClassResolver Handles class registration, writing class identifiers to bytes, and reading class identifiers from bytes.KryoCopyable<T> Allows implementing classes to perform their own copying.KryoSerializable Allows implementing classes to perform their own serialization.ReferenceResolver When references are enabled, this tracks objects that have already been read or written, provides an ID for objects that are written, and looks up by ID objects that have been read.SerializerFactory<T extends Serializer> Creates and configures serializers. -
Class Summary Class Description Kryo Maps classes to serializers so object graphs can be serialized automatically.Registration Describes theSerializer
and class ID to use for a class.Serializer<T> Reads and writes objects to and from bytes.SerializerFactory.BaseSerializerFactory<T extends Serializer> A serializer factory which always returns true forSerializerFactory.BaseSerializerFactory.isSupported(Class)
.SerializerFactory.CompatibleFieldSerializerFactory A serializer factory that returns new, configuredCompatibleFieldSerializer
instances.SerializerFactory.FieldSerializerFactory A serializer factory that returns new, configuredFieldSerializer
instances.SerializerFactory.ReflectionSerializerFactory<T extends Serializer> This factory instantiates new serializers of a given class via reflection.SerializerFactory.SingletonSerializerFactory<T extends Serializer> A serializer factory that always returns a given serializer instance rather than creating new serializer instances.SerializerFactory.TaggedFieldSerializerFactory A serializer factory that returns new, configuredTaggedFieldSerializer
instances.SerializerFactory.VersionFieldSerializerFactory A serializer factory that returns new, configuredVersionFieldSerializer
instances. -
Exception Summary Exception Description KryoException General Kryo RuntimeException. -
Annotation Types Summary Annotation Type Description DefaultSerializer Sets the default serializer to use for the annotated class.