Class SerializerTypeInfoStrategyCreator.IncrementalDiff

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

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

    • IncrementalDiff

      public IncrementalDiff​(boolean includeTypeInfoOnce)
      Construct a creator for a SerializerTypeInfoStrategy. The created SerializerTypeInfoStrategy includes only type information for types added to the serializers type registry in the current serialization. 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