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.
- Alphabetic
- By Inheritance
- ConfiguredAkkaSerializer
- AkkaSerializer
- Serializer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ConfiguredAkkaSerializer(system: ExtendedActorSystem)
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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromBinary(bytes: Array[Byte], clazz: Option[Class[_]]): AnyRef
- Definition Classes
- AkkaSerializer → Serializer
-
final
def
fromBinary(bytes: Array[Byte], clazz: Class[_]): AnyRef
- Definition Classes
- Serializer
- Annotations
- @throws( ... )
-
final
def
fromBinary(bytes: Array[Byte]): AnyRef
- Definition Classes
- Serializer
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
identifier: Int
- Definition Classes
- AkkaSerializer → Serializer
-
def
includeManifest: Boolean
- Definition Classes
- AkkaSerializer → Serializer
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- ConfiguredAkkaSerializer → AkkaSerializer
-
val
kryoPool: KryoPool
- Definition Classes
- AkkaSerializer
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toBinary(obj: AnyRef): Array[Byte]
- Definition Classes
- AkkaSerializer → Serializer
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()