Class ReplicationId$

  • public class ReplicationId$
    extends java.lang.Object
    • Field Detail

      • MODULE$

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

      • ReplicationId$

        public ReplicationId$()
    • Method Detail

      • Separator

        public char Separator()
      • fromString

        public ReplicationId fromString​(java.lang.String id)
      • isReplicationId

        public boolean isReplicationId​(java.lang.String id)
      • apply

        public ReplicationId apply​(java.lang.String typeName,
                                   java.lang.String entityId,
                                   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.