| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private static final Logger | |
| private final CompletionHandler | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | ChunkedCompletionHandler(final CompletionHandler<WriteResult<K, L>>
- can be null parentCompletionHandler)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | cancelled()
Implements org. The operation was cancelled. |
| public void | completed(final WriteResult<K, L> result)
Implements org. The operation was completed. |
| private boolean | |
| protected void | done0()
This method does nothing but can be overriden to implement some action executed before the parent completition handler is executed. |
| public void | failed(Throwable throwable)
Implements org. The operation was failed. |
| public void | |
| public void | updated(final WriteResult<K, L> result)
Implements org. The callback method may be called, when there is some progress in operation execution, but it is still not completed |
| chunksCounter | back to summary |
|---|---|
| private int chunksCounter | |
| isDone | back to summary |
|---|---|
| private boolean isDone | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| parentCompletionHandler | back to summary |
|---|---|
| private final CompletionHandler<WriteResult<K, L>> parentCompletionHandler | |
| writtenSize | back to summary |
|---|---|
| private long writtenSize | |
| ChunkedCompletionHandler | back to summary |
|---|---|
public ChunkedCompletionHandler(final CompletionHandler<WriteResult<K, L>> parentCompletionHandler)
| |
| cancelled | back to summary |
|---|---|
| public void cancelled() Implements org. Doc from org. The operation was cancelled.
| |
| completed | back to summary |
|---|---|
| public void completed(final WriteResult<K, L> result) Implements org. Doc from org. The operation was completed.
| |
| done | back to summary |
|---|---|
| private boolean done() | |
| done0 | back to summary |
|---|---|
| protected void done0() This method does nothing but can be overriden to implement some action executed before the parent completition handler is executed. | |
| failed | back to summary |
|---|---|
| public void failed(Throwable throwable) Implements org. Doc from org. The operation was failed.
| |
| incChunks | back to summary |
|---|---|
| public void incChunks() | |
| updated | back to summary |
|---|---|
| public void updated(final WriteResult<K, L> result) Implements org. Doc from org. The callback method may be called, when there is some progress in operation execution, but it is still not completed
| |