Package akka.testkit
Class TestBarrier$
- java.lang.Object
-
- akka.testkit.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()
-
-
-
Field Detail
-
MODULE$
public static final TestBarrier$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
DefaultTimeout
public scala.concurrent.duration.FiniteDuration DefaultTimeout()
-
apply
public TestBarrier apply(int count)
-
-