Package io.protostuff.runtime
Class ExplicitIdStrategy.Lazy<T>
- java.lang.Object
-
- io.protostuff.runtime.HasSchema<T>
-
- io.protostuff.runtime.ExplicitIdStrategy.BaseHS<T>
-
- io.protostuff.runtime.ExplicitIdStrategy.Lazy<T>
-
- All Implemented Interfaces:
PolymorphicSchema.Factory
- Enclosing class:
- ExplicitIdStrategy
static final class ExplicitIdStrategy.Lazy<T> extends ExplicitIdStrategy.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.ExplicitIdStrategy.BaseHS
id
-
Fields inherited from class io.protostuff.runtime.HasSchema
genericElementSchema, strategy
-
-
Constructor Summary
Constructors Constructor Description Lazy(int id, 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
-
Lazy
Lazy(int id, 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>
-
-