Class ManualTime$
java.lang.Object
org.apache.pekko.actor.testkit.typed.javadsl.ManualTime$
Manual time allows you to do async tests while controlling the scheduler of the system.
To use it you need to configure the ActorSystem/ActorTestKit with ManualTime.config and access the
scheduler control through ManualTime.get
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ManualTime$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.typesafe.config.Configconfig()Config that needs to be in place for the actor system to use the manual<A> ManualTimeget(ActorSystem<A> system) Access the manual scheduler, note that you need to setup the actor system/testkit withManualTime.configfor this to work.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ManualTime$
public ManualTime$()
-
-
Method Details
-
config
public com.typesafe.config.Config config()Config that needs to be in place for the actor system to use the manual -
get
Access the manual scheduler, note that you need to setup the actor system/testkit withManualTime.configfor this to work.
-