public class AsyncIterator<T> extends Object implements CloseableIterator<T>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_QUEUE_SIZE |
Constructor and Description |
---|
AsyncIterator(CloseableIterator<T> underlyingIterator,
int queueSize,
String threadNamePrefix) |
public static final int DEFAULT_QUEUE_SIZE
public AsyncIterator(CloseableIterator<T> underlyingIterator, int queueSize, String threadNamePrefix)
public void close()
close
in interface CloseableIterator<T>
close
in interface Closeable
close
in interface AutoCloseable