Class ManualTime$
java.lang.Object
org.apache.pekko.actor.testkit.typed.scaladsl.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.apply
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ManualTime$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ActorSystem<?> system) Access the manual scheduler, note that you need to setup the actor system/testkit withManualTime.configfor this to work.com.typesafe.config.Configconfig()Config needed to use theExplicitlyTriggeredScheduler
-
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 needed to use theExplicitlyTriggeredScheduler -
apply
Access the manual scheduler, note that you need to setup the actor system/testkit withManualTime.configfor this to work.
-