java.lang.Object
org.apache.pekko.cluster.sharding.typed.javadsl.StartEntity$

public class StartEntity$ extends Object
Allows starting a specific Sharded Entity by its entity identifier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final StartEntity$
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Class<M> msgClass, String entityId)
    Returns ShardingEnvelope which can be sent via Cluster Sharding in order to wake up the specified (by entityId) Sharded Entity, ''without'' delivering a real message to it.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MODULE$

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

    • StartEntity$

      public StartEntity$()
  • Method Details

    • create

      public <M> ShardingEnvelope<M> create(Class<M> msgClass, String entityId)
      Returns ShardingEnvelope which can be sent via Cluster Sharding in order to wake up the specified (by entityId) Sharded Entity, ''without'' delivering a real message to it.