final class ReplicationId extends AnyRef

Source
ReplicationId.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicationId
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. val entityId: String
  2. def persistenceId: PersistenceId
  3. val replicaId: ReplicaId
  4. def toString(): String
    Definition Classes
    ReplicationId → AnyRef → Any
  5. val typeName: String
  6. def withReplica(newReplica: ReplicaId): ReplicationId