Class

akka.persistence.multidc

ReplicatedEventContext

Related Doc: package multidc

Permalink

final class ReplicatedEventContext extends EventContext

Additional information about an event. The event was persisted by another data center.

See also

akka.persistence.multidc.javadsl.ReplicatedEntity#replicatedEventHandler

akka.persistence.multidc.scaladsl.ReplicatedEntity#replicatedEventHandler

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicatedEventContext
  2. EventContext
  3. AnyRef
  4. 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 ReplicatedEventContext(originDc: String, timestamp: Long, sequenceNr: Long, recoveryRunning: Boolean, concurrent: Boolean)

    Permalink

    originDc

    the event was persisted by this data center

    timestamp

    time when the event was persisted as returned by akka.persistence.multidc.scaladsl.ReplicatedEntity#currentTimeMillis or akka.persistence.multidc.javadsl.ReplicatedEntity#currentTimeMillis, which is typically in epoch milliseconds, i.e. milliseconds since midnight, January 1, 1970 UTC.

    sequenceNr

    the sequence number of the event

    recoveryRunning

    true when the event is applied from replay when recovering the state at startup, false if it was persisted now

    concurrent

    The event was persisted with causal order (concurrent=false) to the previous event here, or an update occurred in both data centers before the events had been replicated to the other side (concurrent=true).

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplicatedEventContext to any2stringadd[ReplicatedEventContext] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReplicatedEventContext, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplicatedEventContext to ArrowAssoc[ReplicatedEventContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val concurrent: Boolean

    Permalink

    The event was persisted with causal order (concurrent=false) to the previous event here, or an update occurred in both data centers before the events had been replicated to the other side (concurrent=true).

  9. def ensuring(cond: (ReplicatedEventContext) ⇒ Boolean, msg: ⇒ Any): ReplicatedEventContext

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplicatedEventContext to Ensuring[ReplicatedEventContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (ReplicatedEventContext) ⇒ Boolean): ReplicatedEventContext

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplicatedEventContext to Ensuring[ReplicatedEventContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): ReplicatedEventContext

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplicatedEventContext to Ensuring[ReplicatedEventContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): ReplicatedEventContext

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplicatedEventContext to Ensuring[ReplicatedEventContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplicatedEventContext to StringFormat[ReplicatedEventContext] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val originDc: String

    Permalink

    the event was persisted by this data center

  24. val recoveryRunning: Boolean

    Permalink

    true when the event is applied from replay when recovering the state at startup, false if it was persisted now

    true when the event is applied from replay when recovering the state at startup, false if it was persisted now

    Definition Classes
    ReplicatedEventContextEventContext
  25. val sequenceNr: Long

    Permalink

    the sequence number of the event

    the sequence number of the event

    Definition Classes
    ReplicatedEventContextEventContext
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val timestamp: Long

    Permalink

    time when the event was persisted as returned by akka.persistence.multidc.scaladsl.ReplicatedEntity#currentTimeMillis or akka.persistence.multidc.javadsl.ReplicatedEntity#currentTimeMillis, which is typically in epoch milliseconds, i.e.

    time when the event was persisted as returned by akka.persistence.multidc.scaladsl.ReplicatedEntity#currentTimeMillis or akka.persistence.multidc.javadsl.ReplicatedEntity#currentTimeMillis, which is typically in epoch milliseconds, i.e. milliseconds since midnight, January 1, 1970 UTC.

    Definition Classes
    ReplicatedEventContextEventContext
  28. def toString(): String

    Permalink
    Definition Classes
    ReplicatedEventContext → AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def [B](y: B): (ReplicatedEventContext, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplicatedEventContext to ArrowAssoc[ReplicatedEventContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from EventContext

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ReplicatedEventContext to any2stringadd[ReplicatedEventContext]

Inherited by implicit conversion StringFormat from ReplicatedEventContext to StringFormat[ReplicatedEventContext]

Inherited by implicit conversion Ensuring from ReplicatedEventContext to Ensuring[ReplicatedEventContext]

Inherited by implicit conversion ArrowAssoc from ReplicatedEventContext to ArrowAssoc[ReplicatedEventContext]

Ungrouped