Package akka.actor.testkit.typed.javadsl
Class ManualTime$
- java.lang.Object
-
- akka.actor.testkit.typed.javadsl.ManualTime$
-
public class ManualTime$ extends java.lang.Object
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
withManualTime.config
and access the scheduler control throughManualTime.get
-
-
Field Summary
Fields Modifier and Type Field Description static ManualTime$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ManualTime$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.typesafe.config.Config
config()
Config that needs to be in place for the actor system to use the manual<A> ManualTime
get(ActorSystem<A> system)
Access the manual scheduler, note that you need to setup the actor system/testkit withManualTime.config
for this to work.
-
-
-
Field Detail
-
MODULE$
public static final ManualTime$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
config
public com.typesafe.config.Config config()
Config that needs to be in place for the actor system to use the manual
-
get
public <A> ManualTime get(ActorSystem<A> system)
Access the manual scheduler, note that you need to setup the actor system/testkit withManualTime.config
for this to work.
-
-