final case class DisabledJavaSerializer(system: ExtendedActorSystem) extends Serializer with ByteBufferSerializer with Product with Serializable
This Serializer is used when akka.actor.java-serialization = off
- Source
- Serializer.scala
- Alphabetic
- By Inheritance
- DisabledJavaSerializer
- Serializable
- Product
- Equals
- ByteBufferSerializer
- Serializer
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DisabledJavaSerializer(system: ExtendedActorSystem)
Value Members
- def fromBinary(buf: ByteBuffer, manifest: String): AnyRef
Produces an object from a
ByteBuffer
, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.Produces an object from a
ByteBuffer
, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.- Definition Classes
- DisabledJavaSerializer → ByteBufferSerializer
- Annotations
- @throws(classOf[NotSerializableException])
- def fromBinary(bytes: Array[Byte], clazz: Option[Class[_]]): AnyRef
Produces an object from an array of bytes, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.
Produces an object from an array of bytes, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.
- Definition Classes
- DisabledJavaSerializer → Serializer
- Annotations
- @throws(classOf[NotSerializableException])
- final def fromBinary(bytes: Array[Byte], clazz: Class[_]): AnyRef
Java API: deserialize with type hint
Java API: deserialize with type hint
- Definition Classes
- Serializer
- Annotations
- @throws(classOf[NotSerializableException])
- final def fromBinary(bytes: Array[Byte]): AnyRef
Java API: deserialize without type hint
Java API: deserialize without type hint
- Definition Classes
- Serializer
- val identifier: Int
Completely unique value to identify this implementation of Serializer, used to optimize network traffic.
Completely unique value to identify this implementation of Serializer, used to optimize network traffic. Values from 0 to 40 are reserved for Akka internal usage.
- Definition Classes
- DisabledJavaSerializer → Serializer
- def includeManifest: Boolean
Returns whether this serializer needs a manifest in the fromBinary method
Returns whether this serializer needs a manifest in the fromBinary method
- Definition Classes
- DisabledJavaSerializer → Serializer
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val system: ExtendedActorSystem
- def toBinary(o: AnyRef): Array[Byte]
Serializes the given object into an Array of Byte.
Serializes the given object into an Array of Byte.
Note that the array must not be mutated by the serializer after it has been returned.
- Definition Classes
- DisabledJavaSerializer → Serializer
- def toBinary(o: AnyRef, buf: ByteBuffer): Unit
Serializes the given object into the
ByteBuffer
.Serializes the given object into the
ByteBuffer
.- Definition Classes
- DisabledJavaSerializer → ByteBufferSerializer