Package akka.testkit

Class TestBarrier$


  • public class TestBarrier$
    extends java.lang.Object
    A cyclic barrier wrapper for use in testing. It always uses a timeout when waiting and timeouts are specified as durations. Timeouts will always throw an exception. The default timeout is 5 seconds. Timeouts are multiplied by the testing time factor for Jenkins builds.
    • Field Summary

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

      Constructors 
      Constructor Description
      TestBarrier$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TestBarrier apply​(int count)  
      scala.concurrent.duration.FiniteDuration DefaultTimeout()  
      • Methods inherited from class java.lang.Object

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

      • MODULE$

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

      • TestBarrier$

        public TestBarrier$()
    • Method Detail

      • DefaultTimeout

        public scala.concurrent.duration.FiniteDuration DefaultTimeout()