c

io.altoo.akka.serialization.kryo.serializer.scala

ScalaProductSerializer

class ScalaProductSerializer extends Serializer[Product]

Serializer for scala case classes

Annotations
@Deprecated
Deprecated

This serializer fails for case classes with additional parameter lists/additional fields. As it does not provide any benefit over standard kryo serialization it will be removed in future versions

Linear Supertypes
Serializer[Product], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaProductSerializer
  2. Serializer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaProductSerializer(kryo: Kryo)

    Deprecated

    This serializer fails for case classes with additional parameter lists/additional fields. As it does not provide any benefit over standard kryo serialization it will be removed in future versions

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def copy(arg0: Kryo, arg1: Product): Product
    Definition Classes
    Serializer
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def getAcceptsNull(): Boolean
    Definition Classes
    Serializer
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def isImmutable(): Boolean
    Definition Classes
    Serializer
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val kryo: Kryo
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def read(kryo: Kryo, input: Input, typ: Class[Product]): Product
    Definition Classes
    ScalaProductSerializer → Serializer
  19. def setAcceptsNull(arg0: Boolean): Unit
    Definition Classes
    Serializer
  20. def setElementClass(_elementClass: Class[_], _serializer: Serializer[_]): Unit

    _elementClass

    The concrete class of each element. This saves 1-2 bytes per element. Set to null if the class is not known or varies per element (default).

    _serializer

    The serializer to use for each element.

  21. def setElementClass(_elementClass: Class[_]): Unit

    _elementClass

    The concrete class of each element. This saves 1-2 bytes per element. The serializer registered for the specified class will be used. Set to null if the class is not known or varies per element (default).

  22. def setElementsCanBeNull(_elementsCanBeNull: Boolean): Unit

    _elementsCanBeNull

    False if all elements are not null. This saves 1 byte per element if elementClass is set. True if it is not known (default).

  23. def setGenerics(arg0: Kryo, arg1: Array[Class[_]]): Unit
    Definition Classes
    Serializer
  24. def setImmutable(arg0: Boolean): Unit
    Definition Classes
    Serializer
  25. def setLength(_length: Int): Unit

    Sets the number of objects in the collection.

    Sets the number of objects in the collection. Saves 1-2 bytes.

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def write(kryo: Kryo, output: Output, obj: Product): Unit
    Definition Classes
    ScalaProductSerializer → Serializer

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializer[Product]

Inherited from AnyRef

Inherited from Any

Ungrouped