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
ClientConnectionException
public void resetExecution()
public abstract void execute() throws ClientConnectionException
ClientConnectionException
public boolean await(long timeout, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2016. All rights reserved.