Interface KryoCustomizer
-
- All Known Implementing Classes:
DefaultKryoCustomizer
public interface KryoCustomizerIsolate customization and configuration logic for aKryoinstance prior to usage. This generally includes basic settings, in addition toKryo.register(Class)logic and customSerializercreation and registration.- Author:
- Jeff Fischer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcustomize(com.esotericsoftware.kryo.kryo5.Kryo kryo, Class<?>[] entities)Customize the Kryo instance
-
-
-
Method Detail
-
customize
void customize(com.esotericsoftware.kryo.kryo5.Kryo kryo, Class<?>[] entities)Customize the Kryo instance- Parameters:
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.
-
-