Class ReplicationId$

java.lang.Object
org.apache.pekko.persistence.typed.ReplicationId$

public class ReplicationId$ extends Object
  • Field Details

    • MODULE$

      public static final ReplicationId$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • ReplicationId$

      public ReplicationId$()
  • Method Details

    • fromString

      public ReplicationId fromString(String id)
    • isReplicationId

      public boolean isReplicationId(String id)
    • apply

      public ReplicationId apply(String typeName, String entityId, ReplicaId replicaId)
      Parameters:
      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.