Class 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 with ManualTime.config and access the scheduler control through {@link ManualTime.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 with config() for this to work.
      • Methods inherited from class java.lang.Object

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

      • MODULE$

        public static final ManualTime$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • ManualTime$

        public ManualTime$()
    • Method Detail

      • config

        public com.typesafe.config.Config config()
        Config that needs to be in place for the actor system to use the manual
        Returns:
        (undocumented)
      • get

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