Packages

c

akka.cluster.ddata.protobuf

ReplicatorMessageSerializer

class ReplicatorMessageSerializer extends SerializerWithStringManifest with SerializationSupport with BaseSerializer

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicatorMessageSerializer
  2. BaseSerializer
  3. SerializationSupport
  4. SerializerWithStringManifest
  5. Serializer
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReplicatorMessageSerializer(system: ExtendedActorSystem)

Value Members

  1. val ChangedManifest: String
  2. val DataEnvelopeManifest: String
  3. val DeltaNackManifest: String
  4. val DeltaPropagationManifest: String
  5. val DurableDataEnvelopeManifest: String
  6. val GetFailureManifest: String
  7. val GetManifest: String
  8. val GetSuccessManifest: String
  9. val GossipManifest: String
  10. val NotFoundManifest: String
  11. val ReadManifest: String
  12. val ReadResultManifest: String
  13. final val SerializationIdentifiers: String("akka.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: akka.actor.serialization-identifiers."FQCN" = ID where FQCN is fully qualified class name of the serializer implementation and ID is globally unique serializer identifier number.

    Definition Classes
    BaseSerializer
  14. val StatusManifest: String
  15. val SubscribeManifest: String
  16. val UnsubscribeManifest: String
  17. val WriteAckManifest: String
  18. val WriteManifest: String
  19. val WriteNackManifest: String
  20. def addressFromProto(address: Address): Address
    Definition Classes
    SerializationSupport
  21. def addressProtocol: String
    Definition Classes
    SerializationSupport
  22. def addressToProto(address: Address): Builder
    Definition Classes
    SerializationSupport
  23. def compress(msg: MessageLite): Array[Byte]
    Definition Classes
    SerializationSupport
  24. def decompress(bytes: Array[Byte]): Array[Byte]
    Definition Classes
    SerializationSupport
  25. def fromBinary(bytes: Array[Byte], manifest: String): AnyRef

    Produces an object from an array of bytes, with an optional type-hint.

    Produces an object from an array of bytes, with an optional type-hint.

    It's recommended to throw java.io.NotSerializableException in fromBinary if the manifest is unknown. This makes it possible to introduce new message types and send them to nodes that don't know about them. This is typically needed when performing rolling upgrades, i.e. running a cluster with mixed versions for while. NotSerializableException is treated as a transient problem in the TCP based remoting layer. The problem will be logged and message is dropped. Other exceptions will tear down the TCP connection because it can be an indication of corrupt bytes from the underlying transport.

    Definition Classes
    ReplicatorMessageSerializerSerializerWithStringManifest
  26. final 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.

    Definition Classes
    SerializerWithStringManifestSerializer
  27. 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] )
  28. final def fromBinary(bytes: Array[Byte]): AnyRef

    Java API: deserialize without type hint

    Java API: deserialize without type hint

    Definition Classes
    Serializer
  29. val identifier: Int

    Globally unique serialization identifier configured in the reference.conf.

    Globally unique serialization identifier configured in the reference.conf.

    See Serializer#identifier.

    Definition Classes
    BaseSerializerSerializer
  30. final 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
    SerializerWithStringManifestSerializer
  31. def manifest(obj: AnyRef): String

    Return the manifest (type hint) that will be provided in the fromBinary method.

    Return the manifest (type hint) that will be provided in the fromBinary method. Use "" if manifest is not needed.

    Definition Classes
    ReplicatorMessageSerializerSerializerWithStringManifest
  32. def otherMessageFromBinary(bytes: Array[Byte]): AnyRef
    Definition Classes
    SerializationSupport
  33. def otherMessageFromProto(other: OtherMessage): AnyRef
    Definition Classes
    SerializationSupport
  34. def otherMessageToProto(msg: Any): OtherMessage
    Definition Classes
    SerializationSupport
  35. def resolveActorRef(path: String): ActorRef
    Definition Classes
    SerializationSupport
  36. def serialization: Serialization
    Definition Classes
    SerializationSupport
  37. val system: ExtendedActorSystem

    Actor system which is required by most serializer implementations.

    Actor system which is required by most serializer implementations.

    Definition Classes
    ReplicatorMessageSerializerBaseSerializerSerializationSupport
  38. def toBinary(obj: AnyRef): Array[Byte]

    Serializes the given object into an Array of Byte

    Serializes the given object into an Array of Byte

    Definition Classes
    ReplicatorMessageSerializerSerializerWithStringManifestSerializer
  39. def transportInformation: Information
    Definition Classes
    SerializationSupport
  40. def uniqueAddressFromProto(uniqueAddress: msg.ReplicatorMessages.UniqueAddress): UniqueAddress
    Definition Classes
    SerializationSupport
  41. def uniqueAddressToProto(uniqueAddress: UniqueAddress): Builder
    Definition Classes
    SerializationSupport
  42. def versionVectorFromBinary(bytes: Array[Byte]): VersionVector
    Definition Classes
    SerializationSupport
  43. def versionVectorFromProto(versionVector: msg.ReplicatorMessages.VersionVector): VersionVector
    Definition Classes
    SerializationSupport
  44. def versionVectorToProto(versionVector: VersionVector): msg.ReplicatorMessages.VersionVector
    Definition Classes
    SerializationSupport