Packages

c

akka.cluster.ddata.protobuf

ReplicatedDataSerializer

class ReplicatedDataSerializer extends SerializerWithStringManifest with SerializationSupport with BaseSerializer

Protobuf serializer of ReplicatedData.

Source
ReplicatedDataSerializer.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicatedDataSerializer
  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. Protected

Instance Constructors

  1. new ReplicatedDataSerializer(system: ExtendedActorSystem)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ReplicatedDataSerializer toany2stringadd[ReplicatedDataSerializer] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReplicatedDataSerializer, B)
    Implicit
    This member is added by an implicit conversion from ReplicatedDataSerializer toArrowAssoc[ReplicatedDataSerializer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. 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
  7. def addressFromProto(address: Address): Address
    Definition Classes
    SerializationSupport
  8. def addressProtocol: String
    Definition Classes
    SerializationSupport
  9. def addressToProto(address: Address): Builder
    Definition Classes
    SerializationSupport
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  12. def compress(msg: MessageLite): Array[Byte]
    Definition Classes
    SerializationSupport
  13. def decompress(bytes: Array[Byte]): Array[Byte]
    Definition Classes
    SerializationSupport
  14. def ensuring(cond: (ReplicatedDataSerializer) => Boolean, msg: => Any): ReplicatedDataSerializer
    Implicit
    This member is added by an implicit conversion from ReplicatedDataSerializer toEnsuring[ReplicatedDataSerializer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (ReplicatedDataSerializer) => Boolean): ReplicatedDataSerializer
    Implicit
    This member is added by an implicit conversion from ReplicatedDataSerializer toEnsuring[ReplicatedDataSerializer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: => Any): ReplicatedDataSerializer
    Implicit
    This member is added by an implicit conversion from ReplicatedDataSerializer toEnsuring[ReplicatedDataSerializer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): ReplicatedDataSerializer
    Implicit
    This member is added by an implicit conversion from ReplicatedDataSerializer toEnsuring[ReplicatedDataSerializer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def flagFromBinary(bytes: Array[Byte]): Flag
  21. def flagFromProto(flag: msg.ReplicatedDataMessages.Flag): Flag
  22. def flagToProto(flag: Flag): msg.ReplicatedDataMessages.Flag
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ReplicatedDataSerializer toStringFormat[ReplicatedDataSerializer] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. 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
    ReplicatedDataSerializerSerializerWithStringManifest
  25. 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
  26. 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])
  27. final def fromBinary(bytes: Array[Byte]): AnyRef

    Java API: deserialize without type hint

    Java API: deserialize without type hint

    Definition Classes
    Serializer
  28. def gcounterFromBinary(bytes: Array[Byte]): GCounter
  29. def gcounterFromProto(gcounter: msg.ReplicatedDataMessages.GCounter): GCounter
  30. def gcounterToProto(gcounter: GCounter): msg.ReplicatedDataMessages.GCounter
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def gsetFromBinary(bytes: Array[Byte]): GSet[_]
  33. def gsetFromProto(gset: msg.ReplicatedDataMessages.GSet): GSet[Any]
  34. def gsetToProto(gset: GSet[_]): msg.ReplicatedDataMessages.GSet
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. 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
  37. 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
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. def keyIdFromBinary(bytes: Array[Byte]): String
  40. def keyIdToBinary(id: String): Array[Byte]
  41. def lwwRegisterFromBinary(bytes: Array[Byte]): LWWRegister[Any]
  42. def lwwRegisterFromProto(lwwRegister: msg.ReplicatedDataMessages.LWWRegister): LWWRegister[Any]
  43. def lwwRegisterToProto(lwwRegister: LWWRegister[_]): msg.ReplicatedDataMessages.LWWRegister
  44. def lwwmapFromBinary(bytes: Array[Byte]): LWWMap[Any, Any]
  45. def lwwmapFromProto(lwwmap: msg.ReplicatedDataMessages.LWWMap): LWWMap[Any, Any]
  46. def lwwmapToProto(lwwmap: LWWMap[_, _]): msg.ReplicatedDataMessages.LWWMap
  47. 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
    ReplicatedDataSerializerSerializerWithStringManifest
  48. def mapTypeFromProto[PEntry <: GeneratedMessageV3, A <: GeneratedMessageV3, B <: ReplicatedData](input: List[PEntry], valueCreator: (A) => B)(implicit eh: ProtoMapEntryReader[PEntry, A]): Map[Any, B]
  49. def multimapFromBinary(bytes: Array[Byte]): ORMultiMap[Any, Any]
  50. def multimapFromProto(multimap: msg.ReplicatedDataMessages.ORMultiMap): ORMultiMap[Any, Any]
  51. def multimapToProto(multimap: ORMultiMap[_, _]): msg.ReplicatedDataMessages.ORMultiMap
  52. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  54. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  55. def ormapFromBinary(bytes: Array[Byte]): ORMap[Any, ReplicatedData]
  56. def ormapFromProto(ormap: msg.ReplicatedDataMessages.ORMap): ORMap[Any, ReplicatedData]
  57. def ormapToProto(ormap: ORMap[_, _]): msg.ReplicatedDataMessages.ORMap
  58. def orsetFromBinary(bytes: Array[Byte]): ORSet[Any]
  59. def orsetFromProto(orset: msg.ReplicatedDataMessages.ORSet): ORSet[Any]
  60. def orsetToProto(orset: ORSet[_]): msg.ReplicatedDataMessages.ORSet
  61. def otherMessageFromBinary(bytes: Array[Byte]): AnyRef
    Definition Classes
    SerializationSupport
  62. def otherMessageFromProto(other: OtherMessage): AnyRef
    Definition Classes
    SerializationSupport
  63. def otherMessageToProto(msg: Any): OtherMessage
    Definition Classes
    SerializationSupport
  64. def pncounterFromBinary(bytes: Array[Byte]): PNCounter
  65. def pncounterFromProto(pncounter: msg.ReplicatedDataMessages.PNCounter): PNCounter
  66. def pncounterToProto(pncounter: PNCounter): msg.ReplicatedDataMessages.PNCounter
  67. def pncountermapFromBinary(bytes: Array[Byte]): PNCounterMap[_]
  68. def pncountermapFromProto(pncountermap: msg.ReplicatedDataMessages.PNCounterMap): PNCounterMap[_]
  69. def pncountermapToProto(pncountermap: PNCounterMap[_]): msg.ReplicatedDataMessages.PNCounterMap
  70. def resolveActorRef(path: String): ActorRef
    Definition Classes
    SerializationSupport
  71. def serialization: Serialization
    Definition Classes
    SerializationSupport
  72. def singleKeyEntryFromProto[PEntry <: GeneratedMessageV3, A <: GeneratedMessageV3](entryOption: Option[PEntry])(implicit eh: ProtoMapEntryReader[PEntry, A]): Any
  73. def singleMapEntryFromProto[PEntry <: GeneratedMessageV3, A <: GeneratedMessageV3, B <: ReplicatedData](input: List[PEntry], valueCreator: (A) => B)(implicit eh: ProtoMapEntryReader[PEntry, A]): Map[Any, B]
  74. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  75. val system: ExtendedActorSystem

    Actor system which is required by most serializer implementations.

    Actor system which is required by most serializer implementations.

    Definition Classes
    ReplicatedDataSerializerBaseSerializerSerializationSupport
  76. 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
    ReplicatedDataSerializerSerializerWithStringManifestSerializer
  77. def toString(): String
    Definition Classes
    AnyRef → Any
  78. def transportInformation: Information
    Definition Classes
    SerializationSupport
  79. def uniqueAddressFromProto(uniqueAddress: msg.ReplicatorMessages.UniqueAddress): UniqueAddress
    Definition Classes
    SerializationSupport
  80. def uniqueAddressToProto(uniqueAddress: UniqueAddress): Builder
    Definition Classes
    SerializationSupport
  81. def versionVectorFromBinary(bytes: Array[Byte]): VersionVector
    Definition Classes
    SerializationSupport
  82. def versionVectorFromProto(versionVector: msg.ReplicatorMessages.VersionVector): VersionVector
    Definition Classes
    SerializationSupport
  83. def versionVectorToProto(versionVector: VersionVector): msg.ReplicatorMessages.VersionVector
    Definition Classes
    SerializationSupport
  84. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  85. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  86. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (ReplicatedDataSerializer, B)
    Implicit
    This member is added by an implicit conversion from ReplicatedDataSerializer toArrowAssoc[ReplicatedDataSerializer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from BaseSerializer

Inherited from SerializationSupport

Inherited from Serializer

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromReplicatedDataSerializer to any2stringadd[ReplicatedDataSerializer]

Inherited by implicit conversion StringFormat fromReplicatedDataSerializer to StringFormat[ReplicatedDataSerializer]

Inherited by implicit conversion Ensuring fromReplicatedDataSerializer to Ensuring[ReplicatedDataSerializer]

Inherited by implicit conversion ArrowAssoc fromReplicatedDataSerializer to ArrowAssoc[ReplicatedDataSerializer]

Ungrouped