public abstract class OneTimeCallback extends Object
| Constructor and Description |
|---|
OneTimeCallback() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
await(long timeout,
TimeUnit unit) |
void |
checkAndExecute() |
abstract void |
execute() |
void |
resetExecution() |
public void checkAndExecute()
throws ClientConnectionException
ClientConnectionExceptionpublic void resetExecution()
public abstract void execute()
throws ClientConnectionException
ClientConnectionExceptionpublic boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2018. All Rights Reserved.