com.twitter.chill.akka

ConfiguredAkkaSerializer

class ConfiguredAkkaSerializer extends AkkaSerializer

Uses the Config system of chill.config to Configure at runtime which KryoInstantiator to use Overriding kryoInstantiator and using your own class name is probably easier for most cases. See ConfiguredInstantiator static methods for how to build up a correct Config with your reflected or serialized instantiators.

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

Instance Constructors

  1. new ConfiguredAkkaSerializer(system: ExtendedActorSystem)

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromBinary(bytes: Array[Byte], clazz: Option[Class[_]]): AnyRef

    Definition Classes
    AkkaSerializer → Serializer
  12. final def fromBinary(bytes: Array[Byte], clazz: Class[_]): AnyRef

    Definition Classes
    Serializer
  13. final def fromBinary(bytes: Array[Byte]): AnyRef

    Definition Classes
    Serializer
  14. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  16. def identifier: Int

    Definition Classes
    AkkaSerializer → Serializer
  17. def includeManifest: Boolean

    Definition Classes
    AkkaSerializer → Serializer
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def kryoInstantiator: KryoInstantiator

    You can override this to easily change your serializers.

    You can override this to easily change your serializers. If you do so, make sure to change the config to use the name of your new class

    Definition Classes
    ConfiguredAkkaSerializerAkkaSerializer
  20. val kryoPool: KryoPool

    Definition Classes
    AkkaSerializer
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def poolSize: Int

    Since each thread only needs 1 Kryo, the pool doesn't need more space than the number of threads.

    Since each thread only needs 1 Kryo, the pool doesn't need more space than the number of threads. We guess that there are 4 hyperthreads / core and then multiple by the nember of cores.

    Definition Classes
    AkkaSerializer
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toBinary(obj: AnyRef): Array[Byte]

    Definition Classes
    AkkaSerializer → Serializer
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AkkaSerializer

Inherited from Serializer

Inherited from AnyRef

Inherited from Any

Ungrouped