private class DeferredContentProvider.DeferredContentProviderIterator extends java.lang.Object implements java.util.Iterator<java.nio.ByteBuffer>, Callback, Synchronizable
Callback.Completable, Callback.NestedInvocable.InvocationType| Modifier and Type | Field and Description |
|---|---|
private DeferredContentProvider.Chunk |
current |
__nonBlocking| Modifier | Constructor and Description |
|---|---|
private |
DeferredContentProviderIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(java.lang.Throwable x)
Callback invoked when the operation fails.
|
java.lang.Object |
getLock() |
boolean |
hasNext() |
java.nio.ByteBuffer |
next() |
void |
remove() |
void |
succeeded()
Callback invoked when the operation completes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocationprivate DeferredContentProvider.Chunk current
public boolean hasNext()
hasNext in interface java.util.Iterator<java.nio.ByteBuffer>public java.nio.ByteBuffer next()
next in interface java.util.Iterator<java.nio.ByteBuffer>public void remove()
remove in interface java.util.Iterator<java.nio.ByteBuffer>public void succeeded()
CallbackCallback invoked when the operation completes.
succeeded in interface CallbackCallback.failed(Throwable)public void failed(java.lang.Throwable x)
CallbackCallback invoked when the operation fails.
public java.lang.Object getLock()
getLock in interface Synchronizable