public interface ParallelMultiDataSetIterator extends MultiDataSetIterator
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
|
MultiDataSet |
nextFor()
Returns next DataSet for attached consumer
|
MultiDataSet |
nextFor(int consumer)
Returns next DataSet for given consumer
|
asyncSupported, getPreProcessor, next, reset, resetSupported, setPreProcessor
forEachRemaining, hasNext, next, remove
void attachThread(int producer)
boolean hasNextFor()
boolean hasNextFor(int consumer)
consumer
- MultiDataSet nextFor(int consumer)
consumer
- MultiDataSet nextFor()
Copyright © 2017. All rights reserved.