public final class KryoFactory extends Object
Kryo.| Modifier and Type | Method and Description |
|---|---|
static com.esotericsoftware.kryo.Kryo |
defaultKryo() |
static com.esotericsoftware.kryo.Kryo |
externalizableKryo() |
static com.esotericsoftware.kryo.Kryo |
externalizableKryo(ClassLoader targetClassLoader) |
public static com.esotericsoftware.kryo.Kryo defaultKryo()
Kryo instance, with all custom serializers configured.public static com.esotericsoftware.kryo.Kryo externalizableKryo()
Kryo configured with the default settings (converters and serializer).public static com.esotericsoftware.kryo.Kryo externalizableKryo(ClassLoader targetClassLoader)
targetClassLoader - when classes need to be serialized between different versions the target classloader defines which types should be ignoredKryo configured with the default settings (converters and serializer).Copyright © 2020 MuleSoft, Inc.. All rights reserved.