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 A serializer factory that allows the creation of serializers. -
Class Summary Class Description Kryo Maps classes to serializers so object graphs can be serialized automatically.Kryo.DefaultInstantiatorStrategy Registration Describes theSerializer
and class ID to use for a class.Serializer<T> Reads and writes objects to and from bytes.SerializerFactory.FieldSerializerFactory A serializer factory that returns new, configuredFieldSerializer
instances.SerializerFactory.ReflectionSerializerFactory This factory instantiates new serializers of a given class via reflection.SerializerFactory.SingletonSerializerFactory 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. -
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.NotNull Indicates a field can never be null when it is being serialized and deserialized.