Interface | Description |
---|---|
CustomSerialization |
Allows implementing classes to perform their own serialization.
|
Kryo.Listener |
Provides notification of
Kryo events. |
Class | Description |
---|---|
Compressor |
Wraps another serializer in order to modify the bytes after they are serialized and before they are deserialized.
|
Context |
Serves as thread local storage for serializers.
|
Kryo |
Maps classes to serializers so object graphs can be serialized automatically.
|
Kryo.RegisteredClass |
Holds the registration information for a class.
|
KryoTest | |
KryoTest.HasDefaultSerializerAnnotation | |
KryoTest.HasDefaultSerializerAnnotationSerializer | |
KryoTest.HasPrivateConstructor | |
KryoTest.HasPublicConstructor | |
KryoTestCase |
Convenience methods for round tripping objects.
|
ObjectBuffer |
Serializes objects to and from byte arrays and streams.
This class uses a buffer internally and is not thread safe. |
Serializer |
Serializes objects to and from a
ByteBuffer . |
Exception | Description |
---|---|
SerializationException |
Indicates an error during serialization due to misconfiguration or during deserialization due to invalid input data.
|
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.
|
Optional |
Indicates a field should be ignored when its declaring class is registered unless the
context has a
value set for specified key. |