public static class IndexPipeline.PipelineDocumentIterator extends java.lang.Object implements java.util.Iterator<PipelineDocument>
Constructor and Description |
---|
PipelineDocumentIterator(java.util.concurrent.BlockingQueue<PipelineDocument> queue,
PipelineDocument poisonPill,
java.util.concurrent.Future<?> producerFuture,
long timeout) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
PipelineDocument |
next() |
void |
remove() |
public PipelineDocumentIterator(java.util.concurrent.BlockingQueue<PipelineDocument> queue, PipelineDocument poisonPill, java.util.concurrent.Future<?> producerFuture, long timeout)
public boolean hasNext()
hasNext
in interface java.util.Iterator<PipelineDocument>
public PipelineDocument next()
next
in interface java.util.Iterator<PipelineDocument>
public void remove()
remove
in interface java.util.Iterator<PipelineDocument>