Interface ReplicatedSharding<M>


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

Not for user extension.

  • Method Summary

    Modifier and Type
    Method
    Description
    scala.collection.immutable.Map<ReplicaId,EntityRef<M>>
    Scala API: Returns the entity ref for each replica for user defined routing/replica selection
    Java API: Returns the entity ref for each replica for user defined routing/replica selection
  • Method Details

    • entityRefsFor

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

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