java.lang.Object
org.apache.pekko.actor.testkit.typed.javadsl.ManualTime$

public class ManualTime$ extends 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 with ManualTime.config and access the scheduler control through ManualTime.get

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ManualTime$
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.typesafe.config.Config
    Config that needs to be in place for the actor system to use the manual
    get(ActorSystem<A> system)
    Access the manual scheduler, note that you need to setup the actor system/testkit with ManualTime.config for this to work.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MODULE$

      public static final ManualTime$ 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

      public <A> ManualTime get(ActorSystem<A> system)
      Access the manual scheduler, note that you need to setup the actor system/testkit with ManualTime.config for this to work.