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.-
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 IncrementalDiff(boolean includeTypeInfoOnce)
Construct a creator for aSerializerTypeInfoStrategy
. -
Method Summary
Modifier and Type Method Description SerializerTypeInfoStrategy
create(PersistenceManager<Binary> persistenceManager)
-
Constructor Details
-
IncrementalDiff
public IncrementalDiff(boolean includeTypeInfoOnce)Construct a creator for aSerializerTypeInfoStrategy
. 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
-
create
- Specified by:
create
in interfaceSerializerTypeInfoStrategyCreator
-