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