@Deprecated public class BlockingCallback extends Object implements Callback.NonBlocking
Callback.Adapter, Callback.NonBlocking| Constructor and Description |
|---|
BlockingCallback()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
block()
Deprecated.
Blocks until the Callback has succeeded or failed and
after the return leave in the state to allow reuse.
|
void |
failed(Throwable cause)
Deprecated.
Callback invoked when the operation fails.
|
void |
succeeded()
Deprecated.
Callback invoked when the operation completes.
|
String |
toString()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisNonBlockingpublic void succeeded()
CallbackCallback invoked when the operation completes.
succeeded in interface CallbackCallback.failed(Throwable)public void failed(Throwable cause)
CallbackCallback invoked when the operation fails.
public void block()
throws IOException
IOException - if exception was caught during blocking, or callback was cancelledCopyright © 1995-2016 Webtide. All Rights Reserved.