class DefaultKryoInitializer extends AnyRef
Extensible strategy to configure and customize kryo instance. Create a subclass of DefaultKryoInitializer and configure the FQCN under key kryo-initializer.
- Alphabetic
- By Inheritance
- DefaultKryoInitializer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DefaultKryoInitializer()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def createClassResolver(settings: KryoSerializationSettings): ClassResolver
Can be overridden to provide a custom class resolver - override only if you know what you are doing!
- def createReferenceResolver(settings: KryoSerializationSettings): ReferenceResolver
Can be overridden to provide a custom reference resolver - override only if you know what you are doing!
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def init(kryo: ScalaKryo): Unit
Registers serializer for standard/often used scala classes - override only if you know what you are doing!
- def initScalaSerializer(kryo: ScalaKryo): Unit
- Attributes
- protected
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def postInit(kryo: ScalaKryo): Unit
Can be overridden to register additional serializer and classes explicitly or reconfigure kryo.
- def preInit(kryo: ScalaKryo): Unit
Can be overridden to set a different field serializer before other serializer are initialized.
Can be overridden to set a different field serializer before other serializer are initialized. Note: register custom classes/serializer in
postInit, otherwise default order might break. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)