A wrapper around some unserializable objects that make them both Java
serializable. Internally, Kryo is used for serialization.
Use KryoSerializationWrapper(value) to create a wrapper.
Note that the value contained in the wrapper is mutable. It must be
initialized using Java Serialization (which calls a private readObject
method that does the byte-by-byte deserialization).
Also note that this class is both abstract and sealed. The only valid place
to create such a wrapper is the companion object's apply method.
A wrapper around some unserializable objects that make them both Java serializable. Internally, Kryo is used for serialization.
Use KryoSerializationWrapper(value) to create a wrapper.
Note that the value contained in the wrapper is mutable. It must be initialized using Java Serialization (which calls a private readObject method that does the byte-by-byte deserialization).
Also note that this class is both abstract and sealed. The only valid place to create such a wrapper is the companion object's apply method.