public class AsyncIterator<T> extends Object implements htsjdk.samtools.util.CloseableIterator<T>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_QUEUE_SIZE |
Constructor and Description |
---|
AsyncIterator(htsjdk.samtools.util.CloseableIterator<T> underlyingIterator,
int queueSize,
String threadNamePrefix) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Stops the thread and then calls synchronouslyClose() to allow implementation to do any one time clean up.
|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public static final int DEFAULT_QUEUE_SIZE
public void close()
close
in interface htsjdk.samtools.util.CloseableIterator<T>
close
in interface Closeable
close
in interface AutoCloseable