Object/Trait

org.hammerlab.kryo

Registration

Related Docs: trait Registration | package kryo

Permalink

object Registration

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Registration
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ClassWithSerializerToRegister[U](cls: Class[U], serializer: Option[Serializer[U]], alsoRegister: Option[AlsoRegister[U]], withArray: Boolean = false) extends Registration with Product with Serializable

    Permalink

    Register a class, along with an optional custom serializer, list of classes that should also be registered, and flag for registering an Array-ified class as well.

  2. implicit class KryoRegistratorToRegister extends Registration

    Permalink

    Same as RegistrarToRegister but for a KryoRegistrator.

  3. implicit class RegistrarToRegister extends Registration

    Permalink

    Compose all of a given Registrar's Registration's into a single Registration, e.g.

    Compose all of a given Registrar's Registration's into a single Registration, e.g. for re-use in a new Registrar.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. implicit def classNameWithImplicits(className: String): ClassWithSerializerToRegister[_]

    Permalink

    Create a Registration from a String (Class name).

  6. implicit def classWithImplicits[U](cls: Class[U])(implicit serializer: Serializer[U] = null, alsoRegister: AlsoRegister[U] = null): ClassWithSerializerToRegister[U]

    Permalink

    Simple Registration-creation from a Class.

  7. implicit def classWithImplicitsAndArray[U](cls: ClassAndArray[U])(implicit serializer: Serializer[U] = null, alsoRegister: AlsoRegister[U] = null): ClassWithSerializerToRegister[U]

    Permalink

    Create a Registration from a ClassAndArray.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. implicit def registratorToRegistration(registrator: Registrator): Registration

    Permalink

    Same as RegistrarToRegister but with a Registrator (which is both a Registrar and a KryoRegistrator).

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. implicit def withCustomSerializer[U](t: (Class[U], Serializer[U]))(implicit alsoRegister: AlsoRegister[U] = null): ClassWithSerializerToRegister[U]

    Permalink

    Convenience function, supports syntax like:

    Convenience function, supports syntax like:

    register(classOf[Foo] → new FooSerializer)

Inherited from AnyRef

Inherited from Any

Ungrouped