public interface ParallelDataSetIterator extends DataSetIterator
| Modifier and Type | Method and Description |
|---|---|
void |
attachThread(int producer)
This method sets consumer affinity to specific producer
PLEASE NOTE: this method is optional, and it'll change only nextFor()/hasNextFor() mechanics
|
boolean |
hasNextFor()
Returns true, if attached producer has something in queue, false otherwise
|
boolean |
hasNextFor(int consumer)
Returns true, if attached producer has something in queue, false otherwise
|
DataSet |
nextFor()
Returns next DataSet for attached consumer
|
DataSet |
nextFor(int consumer)
Returns next DataSet for given consumer
|
asyncSupported, batch, getLabels, getPreProcessor, inputColumns, next, reset, resetSupported, setPreProcessor, totalOutcomesforEachRemaining, hasNext, next, removevoid attachThread(int producer)
boolean hasNextFor()
boolean hasNextFor(int consumer)
consumer - DataSet nextFor(int consumer)
consumer - DataSet nextFor()
Copyright © 2021. All rights reserved.