Class PeekIntOperation
- java.lang.Object
-
- org.infinispan.stream.impl.intops.primitive.i.PeekIntOperation
-
-
Constructor Summary
Constructors Constructor Description PeekIntOperation(IntConsumer consumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntConsumergetConsumer()voidhandleInjection(ComponentRegistry registry)Handles injection of components for various dependencies that the intermediate operation hasio.reactivex.rxjava3.core.Flowable<Integer>mapFlowable(io.reactivex.rxjava3.core.Flowable<Integer> input)Performs the intermediate operation on a Flowable.IntStreamperform(IntStream stream)Performs the actualy intermediate operation returning the resulting stream
-
-
-
Constructor Detail
-
PeekIntOperation
public PeekIntOperation(IntConsumer consumer)
-
-
Method Detail
-
perform
public IntStream perform(IntStream stream)
Description copied from interface:IntermediateOperationPerforms the actualy intermediate operation returning the resulting stream
-
getConsumer
public IntConsumer getConsumer()
-
handleInjection
public void handleInjection(ComponentRegistry registry)
Description copied from interface:IntermediateOperationHandles injection of components for various dependencies that the intermediate operation has- Specified by:
handleInjectionin interfaceIntermediateOperation<Integer,IntStream,Integer,IntStream>- Parameters:
registry- the registry to use
-
mapFlowable
public io.reactivex.rxjava3.core.Flowable<Integer> mapFlowable(io.reactivex.rxjava3.core.Flowable<Integer> input)
Description copied from interface:IntermediateOperationPerforms the intermediate operation on a Flowable. This is an interop method to allow Distributed Streams to actually use Distributed Publisher- Specified by:
mapFlowablein interfaceIntermediateOperation<Integer,IntStream,Integer,IntStream>- Parameters:
input- the input flowable- Returns:
-
-