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, performOperationRehashAware
getIntermediateOperations, setSupplier
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setSupplier
public 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)
KeyTrackingTerminalOperation
handleInjection
in interface KeyTrackingTerminalOperation<K,Long,K>
handleInjection
in class BaseTerminalOperation
registry
- component registry to useCopyright © 2021 JBoss, a division of Red Hat. All rights reserved.