Interface ReplicatedSharding<M>

  • All Known Implementing Classes:
    ReplicatedShardingImpl

    public interface ReplicatedSharding<M>
    Represents the sharding instances for the replicas of one Replicated Event Sourcing entity type

    Not for user extension.

    • Method Detail

      • entityRefsFor

        scala.collection.immutable.Map<ReplicaId,​EntityRef<M>> entityRefsFor​(java.lang.String entityId)
        Scala API: Returns the entity ref for each replica for user defined routing/replica selection
      • getEntityRefsFor

        java.util.Map<ReplicaId,​EntityRef<M>> getEntityRefsFor​(java.lang.String entityId)
        Java API: Returns the entity ref for each replica for user defined routing/replica selection