Class EntityContext<M>
- java.lang.Object
-
- akka.cluster.sharding.typed.javadsl.EntityContext<M>
-
public final class EntityContext<M> extends java.lang.ObjectParameter toEntity.of
-
-
Constructor Summary
Constructors Constructor Description EntityContext(java.lang.String entityId, ActorRef<ClusterSharding.ShardCommand> shard, ActorContext<M> actorContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorContext<M>getActorContext()java.lang.StringgetEntityId()ActorRef<ClusterSharding.ShardCommand>getShard()
-
-
-
Constructor Detail
-
EntityContext
public EntityContext(java.lang.String entityId, ActorRef<ClusterSharding.ShardCommand> shard, ActorContext<M> actorContext)
-
-
Method Detail
-
getActorContext
public ActorContext<M> getActorContext()
-
getEntityId
public java.lang.String getEntityId()
-
getShard
public ActorRef<ClusterSharding.ShardCommand> getShard()
-
-