|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectakka.testkit.TestLatch$
public class TestLatch$
A count down latch wrapper for use in testing. It always uses a timeout when waiting and timeouts are specified as durations. There's a default timeout of 5 seconds and the default count is 1. Timeouts will always throw an exception (no need to wrap in assert in tests). Timeouts are multiplied by the testing time factor for Jenkins builds.
Field Summary | |
---|---|
static TestLatch$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
Constructor Summary | |
---|---|
TestLatch$()
|
Method Summary | |
---|---|
TestLatch |
apply(int count,
ActorSystem system)
|
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 TestLatch$ MODULE$
Constructor Detail |
---|
public TestLatch$()
Method Detail |
---|
public scala.concurrent.duration.FiniteDuration DefaultTimeout()
public TestLatch apply(int count, ActorSystem system)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |