Class StarGraphSerializer

  • All Implemented Interfaces:
    SerializerShim<StarGraph>

    public class StarGraphSerializer
    extends Object
    implements SerializerShim<StarGraph>
    Kryo serializer for StarGraph. Implements an internal versioning capability for backward compatibility. The single byte at the front of the serialization stream denotes the version. That version can be used to choose the correct deserialization mechanism. The limitation is that this versioning won't help with backward compatibility for custom serializers from providers. Providers should be encouraged to write their serializers with backward compatibility in mind.
    Author:
    Marko A. Rodriguez (http://markorodriguez.com), Stephen Mallette (http://stephen.genoprime.com)