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
- Serializable
- Product
- Equals
- ByteBufferSerializer
- Serializer
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
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
-
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
-
final
def
fromBinary(bytes: Array[Byte], clazz: Class[_]): AnyRef
Java API: deserialize with type hint
Java API: deserialize with type hint
- Definition Classes
- Serializer
-
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
- 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
- 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
- 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