Class SerializerTypeInfoStrategyCreator.Diff

java.lang.Object
one.microstream.persistence.binary.util.SerializerTypeInfoStrategyCreator.Diff
All Implemented Interfaces:
SerializerTypeInfoStrategyCreator
Enclosing interface:
SerializerTypeInfoStrategyCreator

public static class SerializerTypeInfoStrategyCreator.Diff
extends Object
implements SerializerTypeInfoStrategyCreator
A Creator for a SerializerTypeInfoStrategy. The created SerializerTypeInfoStrategy includes type information for types added to the serializers type registry in the current serialization and all previous serializations. Types that are registered during the serializers setup are never included.
  • Constructor Details

    • Diff

      public Diff​(boolean includeTypeInfoOnce)
      Construct a Creator for a SerializerTypeInfoStrategy. The created SerializerTypeInfoStrategy includes type information for types added to the serializers type registry in the current serialization and all previous serializations. Types that are registered during the serializers setup are never included.
      Parameters:
      includeTypeInfoOnce - If true, the new type information is included only once in the serialization pass that has the new type. Subsequent serialization will not contain type information if no new type was serialized.
  • Method Details