public interface KryoCustomizer
Kryo
instance prior to usage. This
generally includes basic settings, in addition to Kryo.register(Class)
logic and custom
Serializer
creation and registration.Modifier and Type | Method and Description |
---|---|
void |
customize(com.esotericsoftware.kryo.kryo5.Kryo kryo,
Class<?>[] entities)
Customize the Kryo instance
|
void customize(com.esotericsoftware.kryo.kryo5.Kryo kryo, Class<?>[] entities)
kryo
- The instance to customizeentities
- The list of entities detected by the system as currently registered with the
ORM. This is useful for explicit registration in Kryo, as Kryo is generally used in
the context of serialization duties related to entity handling.Copyright © 2021. All rights reserved.