Package akka.cluster.sharding.typed
Class ChangeNumberOfProcesses$
- java.lang.Object
-
- akka.cluster.sharding.typed.ChangeNumberOfProcesses$
-
public class ChangeNumberOfProcesses$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ChangeNumberOfProcesses$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ChangeNumberOfProcesses$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeNumberOfProcesses
apply(int newNumberOfProcesses, ActorRef<StatusReply<Done>> replyTo)
Scala API: Tell the sharded daemon process to rescale to the given number of processes.
-
-
-
Field Detail
-
MODULE$
public static final ChangeNumberOfProcesses$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public ChangeNumberOfProcesses apply(int newNumberOfProcesses, ActorRef<StatusReply<Done>> replyTo)
Scala API: Tell the sharded daemon process to rescale to the given number of processes.- Parameters:
newNumberOfProcesses
- The number of processes to scale up toreplyTo
- Reply to this actor once scaling is successfully done, or with details if it failed Note that a successful response may take a long time, depending on how fast the daemon process actors stop after getting their stop message.
-
-