Class IdEncoder

  • All Implemented Interfaces:
    IdInfoRegistry.IndexEncoder

    public final class IdEncoder
    extends Object
    implements IdInfoRegistry.IndexEncoder
    Intention is to keep all serialize/de-serialize code in a single place.

    FIXME this class is public merely for the sake of GoToNodeById action. Once this encoder is part of persistence API, action shall use API, not this class

    This class is not thread-safe, uses internal buffers to save memory on (de-)serialize, do not share it between thread (although unlikely to happen as persistence demands single thread access).