Class TestBarrier$

java.lang.Object
org.apache.pekko.testkit.TestBarrier$

public class TestBarrier$ extends 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 Details

    • MODULE$

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

    • TestBarrier$

      public TestBarrier$()
  • Method Details

    • DefaultTimeout

      public scala.concurrent.duration.FiniteDuration DefaultTimeout()
    • apply

      public TestBarrier apply(int count)