All Classes and Interfaces
Class
Description
Implementations of ASM-based serializers for fields.
Serializes Java beans using bean accessor methods.
Encrypts data using the blowfish cipher.
An InputStream that reads data from a byte array and optionally fills the byte array from another InputStream as needed.
An InputStream whose source is a
ByteBuffer
.An OutputStream that buffers data in a byte array and optionally flushes to another OutputStream.
An OutputStream whose target is a
ByteBuffer
.Handles class registration, writing class identifiers to bytes, and reading class identifiers from bytes.
Serializer for Java8 closures.
Marker class to bind ClosureSerializer to.
Serializes objects that implement the
Collection
interface.Used to annotate fields that are collections with specific Kryo serializers for their values.
Serializes objects using direct field assignment, providing both forward and backward compatibility.
Contains many serializer classes for specific array types that are provided by
default
.Resolves classes by ID or by fully qualified class name.
Sets the default serializer to use for the annotated class.
Contains many serializer classes that are provided by
default
.Serializer for
BigDecimal
and any subclass.Serializer for
BigInteger
and any subclass.Serializer for
GregorianCalendar
, java.util.JapaneseImperialCalendar, and sun.util.BuddhistCalendar.Serializer for
Charset
.Serializer for lists created via
Collections.emptyList()
or that were just assigned the
Collections.EMPTY_LIST
.Serializer for maps created via
Collections.emptyMap()
or that were just assigned the
Collections.EMPTY_MAP
.Serializer for sets created via
Collections.emptySet()
or that were just assigned the
Collections.EMPTY_SET
.Serializer for lists created via
Collections.singletonList(Object)
.Serializer for maps created via
Collections.singletonMap(Object, Object)
.Serializer for sets created via
Collections.singleton(Object)
.Serializer for
Locale
(immutables).Serializer for
TimeZone
.Serializer for
TreeMap
and any subclass.Serializer for
TreeMap
and any subclass.Serializer for
URL
.Serializes enums using the enum's name.
Writes using the objects externalizable interface if it can reliably do so.
Serializes objects using direct field assignment.
Used to annotate fields with a specific Kryo serializer.
Controls how a field will be serialized.
Indicates a field should be ignored when its declaring class is registered unless the
context
has
a value set for the specified key.A few utility methods for processing field annotations.
Configuration for FieldSerializer instances.
A few utility methods for using generic type parameters, mostly by FieldSerializer
INTERNAL API
Helper class to map type name variables to concrete classes that are used during instantiation
INTERNAL API
Helper class that resolves a type name variable to a concrete class using the current class serialization stack
An unordered map that uses identity comparison for keys.
An unordered map where identity comparison is used for keys and the values are ints.
An InputStream that reads data from a byte array and optionally fills the byte array from another InputStream as needed.
An InputStream that reads lengths and chunks of data from another OutputStream, allowing chunks to be skipped.
A resizable, ordered or unordered int array.
An unordered map that uses int keys.
Serializes objects using Java's built in serialization mechanism.
$
ObjectInputStream
uses the last user-defined $ClassLoader
which may not be the correct one.Maps classes to serializers so object graphs can be serialized automatically.
Callback to run with a provided kryo instance.
Allows implementing classes to perform their own copying.
Best attempt adapter for
DataInput
.A kryo implementation of
DataOutput
.General Kryo RuntimeException.
Factory to create new configured instances of
Kryo
.A kryo implementation of
ObjectInput
.A kryo adapter for the
ObjectOutput
class.A simple pool interface for
Kryo
instances.Builder for a
KryoPool
instance, constructs a KryoPoolQueueImpl
instance.Allows implementing classes to perform their own serialization.
Uses an
ArrayList
to track objects that have already been written.Uses an
IdentityObjectIntMap
to track objects that have already been written.Serializes objects that implement the
Map
interface.Used to annotate fields that are maps with specific Kryo serializers for their keys or values.
Indicates a field can never be null when it is being serialized and deserialized.
Defer generation of serializers until it is really required at run-time.
An unordered map.
An OutputStream that buffers data in a byte array and optionally flushes to another OutputStream.
An OutputStream that buffers data in a byte array and flushes to another OutputStream, writing the length before each flush.
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.
Describes the
Serializer
and class ID to use for a class.Reads and writes objects to and from bytes.
A serializer factory that allows the creation of serializers.
A serializer factory that returns new, configured
FieldSerializer
instances.This factory instantiates new serializers of a given class via reflection.
A serializer factory that always returns a given serializer instance rather than creating new serializer instances.
A serializer factory that returns new, configured
TaggedFieldSerializer
instances.Internally uses
SoftReference
s for queued Kryo instances, most importantly adjusts the poll
behavior so that GC'ed Kryo instances are skipped.Serializes objects using direct field assignment for fields that have a
@Tag(int)
annotation.Marks a field for serialization.
Configuration for TaggedFieldSerializer instances.
Serializers for java.time.*, are added as default serializers if java version is >= 8.
A few utility methods, mostly for private use.
Serializes objects using direct field assignment, with versioning backward compatibility.
Incremental modification of serialized objects must add
VersionFieldSerializer.Since
for new fields.