public static class AbstractStreamWriter.DisposeBufferCompletionHandler extends Object implements CompletionHandler
| Constructor and Description |
|---|
AbstractStreamWriter.DisposeBufferCompletionHandler(Buffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled()
The operation was cancelled.
|
void |
completed(Object result)
The operation was completed.
|
protected void |
disposeBuffer() |
void |
failed(Throwable throwable)
The operation was failed.
|
void |
updated(Object result)
The callback method may be called, when there is some progress in
operation execution, but it is still not completed
|
public AbstractStreamWriter.DisposeBufferCompletionHandler(Buffer buffer)
public void cancelled()
CompletionHandlercancelled in interface CompletionHandlerpublic void failed(Throwable throwable)
CompletionHandlerfailed in interface CompletionHandlerthrowable - error, which occurred during operation executionpublic void completed(Object result)
CompletionHandlercompleted in interface CompletionHandlerresult - the operation resultpublic void updated(Object result)
CompletionHandlerupdated in interface CompletionHandlerresult - the current resultprotected void disposeBuffer()
Copyright © 2013 Oracle Corporation. All Rights Reserved.