Interface KryoCustomizer
-
- All Known Implementing Classes:
DefaultKryoCustomizer
public interface KryoCustomizer
Isolate customization and configuration logic for aKryo
instance prior to usage. This generally includes basic settings, in addition toKryo.register(Class)
logic and customSerializer
creation and registration.- Author:
- Jeff Fischer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
customize(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.
-
-