final case class ReplicaInfo(replicaId: String = "", otherReplicaIds: Seq[String] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ReplicaInfo] with Product with Serializable
Used for Replicated Event Sourcing to filter events based on origin. For edge topologies, like star topologies, an edge replica is not connected to all other replicas, but should be able to receive events indirectly via the replica that it is consuming from.
Events originating from other replicas that the consumer is connected to are excluded and emitted as FilteredEvent from the producer side, because the consumer will receive them directly from the other replica. Events originating from the consumer replica itself are excluded (break the cycle). Events originating from the producer replica are always included.
- replicaId
The replica id of the consumer
- otherReplicaIds
Other replicas that the consumer is connected to.
- Annotations
- @SerialVersionUID()
- Source
- ReplicaInfo.scala
- Alphabetic
- By Inheritance
- ReplicaInfo
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ReplicaInfo(replicaId: String = "", otherReplicaIds: Seq[String] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- replicaId
The replica id of the consumer
- otherReplicaIds
Other replicas that the consumer is connected to.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllOtherReplicaIds(__vs: Iterable[String]): ReplicaInfo
- def addOtherReplicaIds(__vs: String*): ReplicaInfo
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearOtherReplicaIds: ReplicaInfo
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: ReplicaInfo.type
- Definition Classes
- ReplicaInfo → GeneratedMessage
- def discardUnknownFields: ReplicaInfo
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- ReplicaInfo → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ReplicaInfo → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val otherReplicaIds: Seq[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val replicaId: String
- def serializedSize: Int
- Definition Classes
- ReplicaInfo → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- ReplicaInfo → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ReplicaInfo, ReplicaInfo]) => Mutation[ReplicaInfo]*): ReplicaInfo
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withOtherReplicaIds(__v: Seq[String]): ReplicaInfo
- def withReplicaId(__v: String): ReplicaInfo
- def withUnknownFields(__v: UnknownFieldSet): ReplicaInfo
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ReplicaInfo → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage