trait ReplicationContext extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReplicationContext
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def allReplicas: Set[ReplicaId]
- returns
The ids of all replicas of this replicated event sourced actor
- abstract def concurrent: Boolean
Must only be called from the event handler
Must only be called from the event handler
- returns
true if this event happened concurrent with an event from another replica
- abstract def currentTimeMillis(): Long
- returns
a timestamp that will always be increasing (is monotonic)
- abstract def origin: ReplicaId
Must only be called from the event handler
Must only be called from the event handler
- returns
the replica id where the current event was persisted
- abstract def persistenceId: PersistenceId
- returns
The unique id of this replica, including the replica id
- abstract def recoveryRunning: Boolean
Must only be called from the event handler
Must only be called from the event handler
- returns
true when the event handler is invoked during recovery.
- abstract def replicationId: ReplicationId
Provides access to replication specific state
Not for user extension