private class DeferredContentProvider.DeferredContentProviderIterator extends java.lang.Object implements java.util.Iterator<java.nio.ByteBuffer>, Callback, Synchronizable
Callback.Completable, Callback.Completing, Callback.InvocableCallback, Callback.Nested
Invocable.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, wait
combine, from, from, from, from, from, from
combine, getInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocation
private 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()
Callback
Callback invoked when the operation completes.
succeeded
in interface Callback
Callback.failed(Throwable)
public void failed(java.lang.Throwable x)
Callback
Callback invoked when the operation fails.
public java.lang.Object getLock()
getLock
in interface Synchronizable