LongSerializer

org.apache.pekko.remote.serialization.LongSerializer

Attributes

Deprecated
true
Source
PrimitiveSerializers.scala
Graph
Supertypes
trait Serializer
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override 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.

Attributes

Definition Classes
Source
PrimitiveSerializers.scala
override def fromBinary(bytes: Array[Byte], manifest: 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.

Attributes

Definition Classes
Source
PrimitiveSerializers.scala
override 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

Attributes

Definition Classes
Source
PrimitiveSerializers.scala
override def toBinary(o: AnyRef, buf: ByteBuffer): Unit

Serializes the given object into the ByteBuffer.

Serializes the given object into the ByteBuffer.

Attributes

Definition Classes
Source
PrimitiveSerializers.scala
override 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.

Attributes

Definition Classes
Source
PrimitiveSerializers.scala

Inherited methods

final def fromBinary(bytes: Array[Byte], clazz: Class[_]): AnyRef

Java API: deserialize with type hint

Java API: deserialize with type hint

Attributes

Inherited from:
Serializer
Source
Serializer.scala
final def fromBinary(bytes: Array[Byte]): AnyRef

Java API: deserialize without type hint

Java API: deserialize without type hint

Attributes

Inherited from:
Serializer
Source
Serializer.scala

Concrete fields

override val identifier: Int

Globally unique serialization identifier configured in the reference.conf.

Globally unique serialization identifier configured in the reference.conf.

See Serializer.identifier.

Attributes

Source
PrimitiveSerializers.scala

Actor system which is required by most serializer implementations.

Actor system which is required by most serializer implementations.

Attributes

Source
PrimitiveSerializers.scala

Inherited fields

final val SerializationIdentifiers: "pekko.actor.serialization-identifiers"

Configuration namespace of serialization identifiers in the reference.conf.

Configuration namespace of serialization identifiers in the reference.conf.

Each serializer implementation must have an entry in the following format: org.apache.pekko.actor.serialization-identifiers."FQCN" = ID where FQCN is fully qualified class name of the serializer implementation and ID is globally unique serializer identifier number.

Attributes

Inherited from:
BaseSerializer
Source
Serializer.scala