Class IncrementalIdStrategy.RuntimeMapFactory
java.lang.Object
io.protostuff.runtime.IncrementalIdStrategy.RuntimeMapFactory
- All Implemented Interfaces:
MapSchema.MessageFactory
- Enclosing class:
IncrementalIdStrategy
static final class IncrementalIdStrategy.RuntimeMapFactory
extends Object
implements MapSchema.MessageFactory
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) MapSchema.MessageFactory(package private) int(package private) RuntimeEnv.Instantiator<?> (package private) Class<?> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
volatile int id -
factory
MapSchema.MessageFactory factory -
mapClass
Class<?> mapClass -
instantiator
RuntimeEnv.Instantiator<?> instantiator
-
-
Constructor Details
-
RuntimeMapFactory
RuntimeMapFactory()
-
-
Method Details
-
newMessage
Description copied from interface:MapSchema.MessageFactoryCreates a newMapmessage.- Specified by:
newMessagein interfaceMapSchema.MessageFactory
-
typeClass
Description copied from interface:MapSchema.MessageFactoryThe type to instantiate.- Specified by:
typeClassin interfaceMapSchema.MessageFactory
-