MessageSerializer

org.apache.pekko.persistence.serialization.MessageSerializer

Attributes

Source
MessageSerializer.scala
Graph
Supertypes
trait Serializer
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def atLeastOnceDeliverySnapshot(atLeastOnceDeliverySnapshot: AtLeastOnceDeliverySnapshot): AtLeastOnceDeliverySnapshot

Attributes

Source
MessageSerializer.scala
def fromBinary(bytes: Array[Byte], manifest: Option[Class[_]]): Message

Deserializes persistent messages. Delegates deserialization of a persistent message's payload to a matching org.apache.pekko.serialization.Serializer.

Deserializes persistent messages. Delegates deserialization of a persistent message's payload to a matching org.apache.pekko.serialization.Serializer.

Attributes

Source
MessageSerializer.scala
def persistentFSMSnapshot(persistentFSMSnapshot: PersistentFSMSnapshot): PersistentFSMSnapshot[Any]

Attributes

Source
MessageSerializer.scala
def stateChange(persistentStateChange: PersistentStateChangeEvent): StateChangeEvent

Attributes

Source
MessageSerializer.scala
def toBinary(o: AnyRef): Array[Byte]

Serializes persistent messages. Delegates serialization of a persistent message's payload to a matching org.apache.pekko.serialization.Serializer.

Serializes persistent messages. Delegates serialization of a persistent message's payload to a matching org.apache.pekko.serialization.Serializer.

Attributes

Source
MessageSerializer.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

Attributes

Source
MessageSerializer.scala
val PersistentFSMSnapshotClass: Class[PersistentFSMSnapshot[Any]]

Attributes

Source
MessageSerializer.scala
val PersistentImplClass: Class[PersistentImpl]

Attributes

Source
MessageSerializer.scala
override val 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

Source
MessageSerializer.scala

Actor system which is required by most serializer implementations.

Actor system which is required by most serializer implementations.

Attributes

Source
MessageSerializer.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
override val identifier: Int

Globally unique serialization identifier configured in the reference.conf.

Globally unique serialization identifier configured in the reference.conf.

See pekko.serialization.Serializer.identifier.

Attributes

Inherited from:
BaseSerializer
Source
Serializer.scala