akka.testkit
Class JavaTestKit.AwaitCond

java.lang.Object
  extended by 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".


Constructor Summary
JavaTestKit.AwaitCond()
           
JavaTestKit.AwaitCond(scala.concurrent.duration.Duration max)
           
JavaTestKit.AwaitCond(scala.concurrent.duration.Duration max, scala.concurrent.duration.Duration interval)
           
JavaTestKit.AwaitCond(scala.concurrent.duration.Duration max, scala.concurrent.duration.Duration interval, java.lang.String message)
           
 
Method Summary
protected abstract  boolean cond()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

cond

protected abstract boolean cond()