Class PeekOperation<S>
java.lang.Object
org.infinispan.stream.impl.intops.object.PeekOperation<S>
- All Implemented Interfaces:
IntermediateOperation<S,Stream<S>, S, Stream<S>>
public class PeekOperation<S>
extends Object
implements IntermediateOperation<S,Stream<S>,S,Stream<S>>
Performs peek operation on a regular
Stream-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleInjection(ComponentRegistry registry) Handles injection of components for various dependencies that the intermediate operation hasio.reactivex.rxjava3.core.Flowable<S> mapFlowable(io.reactivex.rxjava3.core.Flowable<S> input) Performs the intermediate operation on a Flowable.Performs the actualy intermediate operation returning the resulting stream
-
Constructor Details
-
PeekOperation
-
-
Method Details
-
perform
Description copied from interface:IntermediateOperationPerforms the actualy intermediate operation returning the resulting stream -
getConsumer
-
handleInjection
Description copied from interface:IntermediateOperationHandles injection of components for various dependencies that the intermediate operation has- Specified by:
handleInjectionin interfaceIntermediateOperation<S,Stream<S>, S, Stream<S>> - Parameters:
registry- the registry to use
-
mapFlowable
public io.reactivex.rxjava3.core.Flowable<S> mapFlowable(io.reactivex.rxjava3.core.Flowable<S> 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<S,Stream<S>, S, Stream<S>> - Parameters:
input- the input flowable- Returns:
-