Class TinkerIoRegistryV1d0

  • All Implemented Interfaces:
    IoRegistry

    public final class TinkerIoRegistryV1d0
    extends AbstractIoRegistry
    An implementation of the IoRegistry interface that provides serializers with custom configurations for implementation specific classes that might need to be serialized. This registry allows a TinkerGraph to be serialized directly which is useful for moving small graphs around on the network.

    Most providers need not implement this kind of custom serializer as they will deal with much larger graphs that wouldn't be practical to serialize in this fashion. This is a bit of a special case for TinkerGraph given its in-memory status. Typical implementations would create serializers for a complex vertex identifier or a custom data class like a "geographic point".

    Author:
    Stephen Mallette (http://stephen.genoprime.com)