|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.testkit.TestBarrier$
public class TestBarrier$
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 | |
|---|---|
static TestBarrier$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
| Constructor Summary | |
|---|---|
TestBarrier$()
|
|
| Method Summary | |
|---|---|
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 |
|---|
public static final TestBarrier$ MODULE$
| Constructor Detail |
|---|
public TestBarrier$()
| Method Detail |
|---|
public scala.concurrent.duration.FiniteDuration DefaultTimeout()
public TestBarrier apply(int count)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||