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.-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.util.SerializerTypeInfoStrategyCreator
SerializerTypeInfoStrategyCreator.Diff, SerializerTypeInfoStrategyCreator.IncrementalDiff, SerializerTypeInfoStrategyCreator.TypeDictionary
-
Constructor Summary
Constructors Constructor Description Diff(boolean includeTypeInfoOnce)
Construct a Creator for aSerializerTypeInfoStrategy
. -
Method Summary
Modifier and Type Method Description SerializerTypeInfoStrategy
create(PersistenceManager<Binary> persistenceManager)
-
Constructor Details
-
Diff
public Diff(boolean includeTypeInfoOnce)Construct a Creator for aSerializerTypeInfoStrategy
. 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
-
create
- Specified by:
create
in interfaceSerializerTypeInfoStrategyCreator
-