public class CompositeKryoRegistrar extends AbstractKryoRegistrar
KryoRegistrar
that delegates and validates registrations across all components.KRYO, log
MIN_REGISTRATION_VALUE
Constructor and Description |
---|
CompositeKryoRegistrar(List<KryoRegistrar> delegates) |
Modifier and Type | Method and Description |
---|---|
List<com.esotericsoftware.kryo.Registration> |
getRegistrations() |
void |
registerTypes(com.esotericsoftware.kryo.Kryo kryo)
This method is invoked by the
PojoCodec and
applied to the Kryo instance whenever a new instance is created. |
public CompositeKryoRegistrar(List<KryoRegistrar> delegates)
public void registerTypes(com.esotericsoftware.kryo.Kryo kryo)
KryoRegistrar
PojoCodec
and
applied to the Kryo
instance whenever a new instance is created.registerTypes
in interface KryoRegistrar
registerTypes
in class AbstractKryoRegistrar
kryo
- the Kryo instancepublic final List<com.esotericsoftware.kryo.Registration> getRegistrations()
Registration
provided