akka.testkit
Class JavaTestKit.AwaitCond
java.lang.Object
akka.testkit.JavaTestKit.AwaitCond
- Enclosing class:
- JavaTestKit
public abstract class JavaTestKit.AwaitCond
- extends java.lang.Object
Await until the given condition evaluates to true
or the
timeout expires, whichever comes first.
If no timeout is given, take it from the innermost enclosing
Within
block.
Note that the timeout is scaled using Duration.dilated, which uses the
configuration entry "akka.test.timefactor".
Method Summary |
protected abstract boolean |
cond()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaTestKit.AwaitCond
public JavaTestKit.AwaitCond()
JavaTestKit.AwaitCond
public JavaTestKit.AwaitCond(scala.concurrent.duration.Duration max)
JavaTestKit.AwaitCond
public JavaTestKit.AwaitCond(scala.concurrent.duration.Duration max,
scala.concurrent.duration.Duration interval)
JavaTestKit.AwaitCond
public JavaTestKit.AwaitCond(scala.concurrent.duration.Duration max,
scala.concurrent.duration.Duration interval,
java.lang.String message)
cond
protected abstract boolean cond()