Interface KryoCustomizer

All Known Implementing Classes:
DefaultKryoCustomizer

public interface KryoCustomizer
Isolate customization and configuration logic for a Kryo instance prior to usage. This generally includes basic settings, in addition to Kryo.register(Class) logic and custom Serializer creation and registration.
Author:
Jeff Fischer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(com.esotericsoftware.kryo.kryo5.Kryo kryo, Class<?>[] entities)
    Customize the Kryo instance
  • Method Details

    • customize

      void customize(com.esotericsoftware.kryo.kryo5.Kryo kryo, Class<?>[] entities)
      Customize the Kryo instance
      Parameters:
      kryo - The instance to customize
      entities - 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.