Class OneTimeCallback
- java.lang.Object
-
- org.ovirt.vdsm.jsonrpc.client.utils.OneTimeCallback
-
public abstract class OneTimeCallback extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OneTimeCallback()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
await(long timeout, java.util.concurrent.TimeUnit unit)
void
checkAndExecute()
abstract void
execute()
void
resetExecution()
-
-
-
Method Detail
-
checkAndExecute
public void checkAndExecute() throws ClientConnectionException
- Throws:
ClientConnectionException
-
resetExecution
public void resetExecution()
-
execute
public abstract void execute() throws ClientConnectionException
- Throws:
ClientConnectionException
-
await
public boolean await(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
-