public abstract class WaitHelper
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
WaitHelper() |
WaitHelper(int retries) |
WaitHelper(long interval,
int retries) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
condition()
Subclasses must provide the condition.
|
void |
onRetry()
Called on retry.
|
void |
run() |
public WaitHelper()
public WaitHelper(int retries)
public WaitHelper(long interval, int retries)
public abstract boolean condition() throws java.lang.Exception
java.lang.Exception
public void onRetry()
public final void run()
run
in interface java.lang.Runnable