K
- key type of the supplied streampublic class ForEachFlatMapIntOperation<K> extends AbstractForEachOperation<K,Integer,IntStream>
IntStream
.KeyTrackingTerminalOperation.IntermediateCollector<C>
intermediateOperations, supplier
Constructor and Description |
---|
ForEachFlatMapIntOperation(Iterable<IntermediateOperation> intermediateOperations,
Supplier<Stream<CacheEntry>> supplier,
int batchSize,
IntConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
IntConsumer |
getConsumer() |
void |
handleInjection(ComponentRegistry registry)
Handles injection of components for various intermediate and this operation.
|
protected void |
handleList(List<Integer> list) |
protected void |
handleStreamForEach(IntStream stream,
List<Integer> list) |
getBatchSize, lostSegment, performOperation, performOperationRehashAware
getIntermediateOperations, setSupplier
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setSupplier
public ForEachFlatMapIntOperation(Iterable<IntermediateOperation> intermediateOperations, Supplier<Stream<CacheEntry>> supplier, int batchSize, IntConsumer consumer)
protected void handleList(List<Integer> list)
handleList
in class AbstractForEachOperation<K,Integer,IntStream>
protected void handleStreamForEach(IntStream stream, List<Integer> list)
handleStreamForEach
in class AbstractForEachOperation<K,Integer,IntStream>
public IntConsumer getConsumer()
public void handleInjection(ComponentRegistry registry)
KeyTrackingTerminalOperation
handleInjection
in interface KeyTrackingTerminalOperation<K,Integer,K>
handleInjection
in class BaseTerminalOperation
registry
- component registry to useCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.