Class ReplicatedEventMetadata$
java.lang.Object
org.apache.pekko.persistence.typed.internal.ReplicatedEventMetadata$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReplicatedEventMetadata$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.persistence.typed.internal.ReplicatedEventMetadataapply(ReplicaId originReplica, long originSequenceNr, org.apache.pekko.persistence.typed.internal.VersionVector version, boolean concurrent) For a journal supporting Replicated Event Sourcing needing to add test coverage, use this instance as metadata and defer to the built in serializer for serialization formatscala.Option<scala.Tuple4<ReplicaId,Object, org.apache.pekko.persistence.typed.internal.VersionVector, Object>> unapply(org.apache.pekko.persistence.typed.internal.ReplicatedEventMetadata x$0)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ReplicatedEventMetadata$
public ReplicatedEventMetadata$()
-
-
Method Details
-
instanceForJournalTest
For a journal supporting Replicated Event Sourcing needing to add test coverage, use this instance as metadata and defer to the built in serializer for serialization format -
apply
public org.apache.pekko.persistence.typed.internal.ReplicatedEventMetadata apply(ReplicaId originReplica, long originSequenceNr, org.apache.pekko.persistence.typed.internal.VersionVector version, boolean concurrent) - Parameters:
originReplica- Where the event originally was createdoriginSequenceNr- The original sequenceNr in the origin DCversion- The version with which the event was persisted at the different DC. The same event will have different version vectors at each location as they are received at different times
-
unapply
-