Package io.protostuff.runtime
Class IncrementalIdStrategy.LazyRegister<T>
- java.lang.Object
-
- io.protostuff.runtime.HasSchema<T>
-
- io.protostuff.runtime.IncrementalIdStrategy.BaseHS<T>
-
- io.protostuff.runtime.IncrementalIdStrategy.LazyRegister<T>
-
- All Implemented Interfaces:
PolymorphicSchema.Factory
- Direct Known Subclasses:
IncrementalIdStrategy.Lazy
- Enclosing class:
- IncrementalIdStrategy
static class IncrementalIdStrategy.LazyRegister<T> extends IncrementalIdStrategy.BaseHS<T>
-
-
Field Summary
Fields Modifier and Type Field Description private Pipe.Schema<T>
pipeSchema
private Schema<T>
schema
(package private) java.lang.Class<T>
typeClass
-
Fields inherited from class io.protostuff.runtime.IncrementalIdStrategy.BaseHS
id
-
Fields inherited from class io.protostuff.runtime.HasSchema
genericElementSchema, strategy
-
-
Constructor Summary
Constructors Constructor Description LazyRegister(java.lang.Class<T> typeClass, IdStrategy strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pipe.Schema<T>
getPipeSchema()
Gets the pipe schema.Schema<T>
getSchema()
Gets the schema.
-
-
-
Field Detail
-
typeClass
final java.lang.Class<T> typeClass
-
pipeSchema
private volatile Pipe.Schema<T> pipeSchema
-
-
Constructor Detail
-
LazyRegister
LazyRegister(java.lang.Class<T> typeClass, IdStrategy strategy)
-
-
Method Detail
-
getPipeSchema
public Pipe.Schema<T> getPipeSchema()
Description copied from class:HasSchema
Gets the pipe schema.- Specified by:
getPipeSchema
in classHasSchema<T>
-
-