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, performOperationRehashAwaregetIntermediateOperations, setSupplierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetSupplierpublic 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)
KeyTrackingTerminalOperationhandleInjection in interface KeyTrackingTerminalOperation<K,Integer,K>handleInjection in class BaseTerminalOperationregistry - component registry to useCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.