Class ShardRegion$


  • public class ShardRegion$
    extends java.lang.Object
    INTERNAL API Factory method for the Props of the ShardRegion actor.
    • Field Detail

      • MODULE$

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

      • ShardRegion$

        public ShardRegion$()
    • Method Detail

      • props

        public Props props​(java.lang.String typeName,
                           scala.Function1<java.lang.String,​Props> entityProps,
                           ClusterShardingSettings settings,
                           java.lang.String coordinatorPath,
                           scala.PartialFunction<java.lang.Object,​scala.Tuple2<java.lang.String,​java.lang.Object>> extractEntityId,
                           scala.Function1<java.lang.Object,​java.lang.String> extractShardId,
                           java.lang.Object handOffStopMessage,
                           ActorRef replicator,
                           int majorityMinCap)
      • proxyProps

        public Props proxyProps​(java.lang.String typeName,
                                scala.Option<java.lang.String> dataCenter,
                                ClusterShardingSettings settings,
                                java.lang.String coordinatorPath,
                                scala.PartialFunction<java.lang.Object,​scala.Tuple2<java.lang.String,​java.lang.Object>> extractEntityId,
                                scala.Function1<java.lang.Object,​java.lang.String> extractShardId,
                                ActorRef replicator,
                                int majorityMinCap)
        INTERNAL API Factory method for the Props of the ShardRegion actor when using it in proxy only mode.
        Parameters:
        typeName - (undocumented)
        dataCenter - (undocumented)
        settings - (undocumented)
        coordinatorPath - (undocumented)
        extractEntityId - (undocumented)
        extractShardId - (undocumented)
        replicator - (undocumented)
        majorityMinCap - (undocumented)
        Returns:
        (undocumented)
      • handOffStopperProps

        public Props handOffStopperProps​(java.lang.String shard,
                                         ActorRef replyTo,
                                         scala.collection.immutable.Set<ActorRef> entities,
                                         java.lang.Object stopMessage,
                                         scala.concurrent.duration.FiniteDuration handoffTimeout)