Class LimitOperation<S>
java.lang.Object
org.infinispan.stream.impl.intops.object.LimitOperation<S>
- All Implemented Interfaces:
IntermediateOperation<S,Stream<S>, S, Stream<S>>
public class LimitOperation<S>
extends Object
implements IntermediateOperation<S,Stream<S>,S,Stream<S>>
Performs limit operation on a regular
Stream-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetLimit()io.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 streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.stream.impl.intops.IntermediateOperation
handleInjection
-
Constructor Details
-
LimitOperation
public LimitOperation(long limit)
-
-
Method Details
-
perform
Description copied from interface:IntermediateOperationPerforms the actualy intermediate operation returning the resulting stream -
getLimit
public long getLimit() -
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:
-