Package akka.cluster.sharding.typed
Interface ReplicatedSharding<M>
-
public interface ReplicatedSharding<M>
Represents the sharding instances for the replicas of one Replicated Event Sourcing entity typeNot for user extension.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 selectionjava.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
-