com.twitter.chill

RichKryo

class RichKryo extends AnyRef

Enrichment pattern to add methods to Kryo objects TODO: make this a value-class in scala 2.10 This also follows the builder pattern to allow easily chaining this calls

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichKryo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichKryo(k: Kryo)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def alreadyRegistered[T](implicit cmf: ClassManifest[T]): Boolean

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def bufferableForClass[T](implicit b: Bufferable[T], cmf: ClassManifest[T]): Kryo

  9. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def forClass[T](kser: Serializer[T])(implicit cmf: ClassManifest[T]): Kryo

  14. def forClassViaBijection[A, B](bij: Bijection[A, B])(implicit acmf: ClassManifest[A], bcmf: ClassManifest[B]): Kryo

    Helpful override to alleviate rewriting types.

  15. def forClassViaBijection[A, B](implicit bij: ImplicitBijection[A, B], acmf: ClassManifest[A], bcmf: ClassManifest[B]): Kryo

    B has to already be registered, then use the KSerializer[B] to create KSerialzer[A]

  16. def forSubclass[T](kser: Serializer[T])(implicit cmf: ClassManifest[T]): Kryo

  17. def forTraversableClass[T, C <: Traversable[T]](b: Builder[T, C], isImmutable: Boolean)(implicit mf: ClassManifest[C]): Kryo

  18. def forTraversableSubclass[T, C <: Traversable[T]](b: Builder[T, C], isImmutable: Boolean)(implicit mf: ClassManifest[C]): Kryo

  19. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  21. def injectionForClass[T](implicit inj: Injection[T, Array[Byte]], cmf: ClassManifest[T]): Kryo

  22. def injectionForClasses(pairs: TraversableOnce[InjectionPair[_]]): Kryo

  23. def injectionForSubclass[T](implicit inj: Injection[T, Array[Byte]], cmf: ClassManifest[T]): Kryo

  24. def injectionForSubclasses(pairs: TraversableOnce[InjectionPair[_]]): Kryo

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def javaForClass[T <: Serializable](implicit cmf: ClassManifest[T]): Kryo

    Use Java serialization, which is very slow.

    Use Java serialization, which is very slow. avoid this if possible, but for very rare classes it is probably fine

  27. def javaForSubclass[T <: Serializable](implicit cmf: ClassManifest[T]): Kryo

    Use Java serialization, which is very slow.

    Use Java serialization, which is very slow. avoid this if possible, but for very rare classes it is probably fine

  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def registerClasses(klasses: TraversableOnce[Class[_]]): Kryo

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

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped