Class SerializerTypeInfoStrategyCreator.TypeDictionary
java.lang.Object
one.microstream.persistence.binary.util.SerializerTypeInfoStrategyCreator.TypeDictionary
- All Implemented Interfaces:
SerializerTypeInfoStrategyCreator
- Enclosing interface:
- SerializerTypeInfoStrategyCreator
public static class SerializerTypeInfoStrategyCreator.TypeDictionary extends Object implements SerializerTypeInfoStrategyCreator
A Creator for a
SerializerTypeInfoStrategy
.
The created SerializerTypeInfoStrategy includes type information
for all types currently known to the serializer including those registered during the setup.-
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 TypeDictionary(boolean includeTypeInfoOnce)
A Creator for aSerializerTypeInfoStrategy
. -
Method Summary
Modifier and Type Method Description SerializerTypeInfoStrategy
create(PersistenceManager<Binary> persistenceManager)
-
Constructor Details
-
TypeDictionary
public TypeDictionary(boolean includeTypeInfoOnce)A Creator for aSerializerTypeInfoStrategy
. The created SerializerTypeInfoStrategy includes type information for all types currently known to the serializer including those registered during the setup.- Parameters:
includeTypeInfoOnce
- If true, the type information is included only in the serialization pass that has the new types. Subsequent serialization will not contain type information if no new type was serialized.
-
-
Method Details
-
create
- Specified by:
create
in interfaceSerializerTypeInfoStrategyCreator
-