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]) @HotSpotIntrinsicCandidate() @native()
  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 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
  24. 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
  25. 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])
  26. final def fromBinary(bytes: Array[Byte]): AnyRef

    Java API: deserialize without type hint

    Java API: deserialize without type hint

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

    Actor system which is required by most serializer implementations.

    Actor system which is required by most serializer implementations.

    Definition Classes
    ReplicatedDataSerializerBaseSerializerSerializationSupport
  75. def toBinary(obj: 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.

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

    (Since version 9)

  2. 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
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

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