final class ReplicationId extends AnyRef
- Source
- ReplicationId.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReplicationId
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ReplicationId(typeName: String, entityId: String, replicaId: ReplicaId)
- typeName
The name of the entity type e.g. account, user. Made part of the persistence id so that entity ids don't need to be unique across different replicated entities
- entityId
The unique entity id
- replicaId
The unique identity for this entity. The underlying persistence id will include the replica, unless the replicaId is
ReplicaId.empty
Value Members
- val entityId: String
- def persistenceId: PersistenceId
- val replicaId: ReplicaId
- def toString(): String
- Definition Classes
- ReplicationId → AnyRef → Any
- val typeName: String
- def withReplica(newReplica: ReplicaId): ReplicationId