@@ -7648,14 +7648,14 @@ public final Flowable<T> distinctUntilChanged(BiPredicate<? super T, ? super T>
7648
7648
* <dd>This operator supports normal and conditional Subscribers as well as boundary-limited
7649
7649
* synchronous or asynchronous queue-fusion.</dd>
7650
7650
* </dl>
7651
+ * <p>History: 2.0.1 - experimental
7651
7652
* @param onFinally the action called when this Flowable terminates or gets cancelled
7652
7653
* @return the new Flowable instance
7653
- * @since 2.0.1 - experimental
7654
+ * @since 2.1
7654
7655
*/
7655
7656
@CheckReturnValue
7656
7657
@BackpressureSupport(BackpressureKind.PASS_THROUGH)
7657
7658
@SchedulerSupport(SchedulerSupport.NONE)
7658
- @Experimental
7659
7659
public final Flowable<T> doFinally(Action onFinally) {
7660
7660
ObjectHelper.requireNonNull(onFinally, "onFinally is null");
7661
7661
return RxJavaPlugins.onAssembly(new FlowableDoFinally<T>(this, onFinally));
@@ -7675,14 +7675,14 @@ public final Flowable<T> doFinally(Action onFinally) {
7675
7675
* <dd>This operator supports normal and conditional Subscribers as well as boundary-limited
7676
7676
* synchronous or asynchronous queue-fusion.</dd>
7677
7677
* </dl>
7678
+ * <p>History: 2.0.1 - experimental
7678
7679
* @param onAfterNext the Consumer that will be called after emitting an item from upstream to the downstream
7679
7680
* @return the new Flowable instance
7680
- * @since 2.0.1 - experimental
7681
+ * @since 2.1
7681
7682
*/
7682
7683
@CheckReturnValue
7683
7684
@BackpressureSupport(BackpressureKind.PASS_THROUGH)
7684
7685
@SchedulerSupport(SchedulerSupport.NONE)
7685
- @Experimental
7686
7686
public final Flowable<T> doAfterNext(Consumer<? super T> onAfterNext) {
7687
7687
ObjectHelper.requireNonNull(onAfterNext, "onAfterNext is null");
7688
7688
return RxJavaPlugins.onAssembly(new FlowableDoAfterNext<T>(this, onAfterNext));
@@ -10447,13 +10447,14 @@ public final Flowable<T> onTerminateDetach() {
10447
10447
* <dt><b>Scheduler:</b></dt>
10448
10448
* <dd>{@code parallel} does not operate by default on a particular {@link Scheduler}.</dd>
10449
10449
* </dl>
10450
+ * <p>History: 2.0.5 - experimental
10450
10451
* @return the new ParallelFlowable instance
10451
- * @since 2.0.5 - experimental
10452
+ * @since 2.1 - beta
10452
10453
*/
10453
10454
@BackpressureSupport(BackpressureKind.FULL)
10454
10455
@SchedulerSupport(SchedulerSupport.NONE)
10455
10456
@CheckReturnValue
10456
- @Experimental
10457
+ @Beta
10457
10458
public final ParallelFlowable<T> parallel() {
10458
10459
return ParallelFlowable.from(this);
10459
10460
}
@@ -10476,14 +10477,15 @@ public final ParallelFlowable<T> parallel() {
10476
10477
* <dt><b>Scheduler:</b></dt>
10477
10478
* <dd>{@code parallel} does not operate by default on a particular {@link Scheduler}.</dd>
10478
10479
* </dl>
10480
+ * <p>History: 2.0.5 - experimental
10479
10481
* @param parallelism the number of 'rails' to use
10480
10482
* @return the new ParallelFlowable instance
10481
- * @since 2.0.5 - experimental
10483
+ * @since 2.1 - beta
10482
10484
*/
10483
10485
@BackpressureSupport(BackpressureKind.FULL)
10484
10486
@SchedulerSupport(SchedulerSupport.NONE)
10485
10487
@CheckReturnValue
10486
- @Experimental
10488
+ @Beta
10487
10489
public final ParallelFlowable<T> parallel(int parallelism) {
10488
10490
ObjectHelper.verifyPositive(parallelism, "parallelism");
10489
10491
return ParallelFlowable.from(this, parallelism);
@@ -10508,15 +10510,16 @@ public final ParallelFlowable<T> parallel(int parallelism) {
10508
10510
* <dt><b>Scheduler:</b></dt>
10509
10511
* <dd>{@code parallel} does not operate by default on a particular {@link Scheduler}.</dd>
10510
10512
* </dl>
10513
+ * <p>History: 2.0.5 - experimental
10511
10514
* @param parallelism the number of 'rails' to use
10512
10515
* @param prefetch the number of items each 'rail' should prefetch
10513
10516
* @return the new ParallelFlowable instance
10514
- * @since 2.0.5 - experimental
10517
+ * @since 2.1 - beta
10515
10518
*/
10516
10519
@BackpressureSupport(BackpressureKind.FULL)
10517
10520
@SchedulerSupport(SchedulerSupport.NONE)
10518
10521
@CheckReturnValue
10519
- @Experimental
10522
+ @Beta
10520
10523
public final ParallelFlowable<T> parallel(int parallelism, int prefetch) {
10521
10524
ObjectHelper.verifyPositive(parallelism, "parallelism");
10522
10525
ObjectHelper.verifyPositive(prefetch, "prefetch");
@@ -11787,6 +11790,7 @@ public final Flowable<T> sample(long period, TimeUnit unit) {
11787
11790
* <dd>{@code sample} operates by default on the {@code computation} {@link Scheduler}.</dd>
11788
11791
* </dl>
11789
11792
*
11793
+ * <p>History: 2.0.5 - experimental
11790
11794
* @param period
11791
11795
* the sampling rate
11792
11796
* @param unit
@@ -11800,12 +11804,11 @@ public final Flowable<T> sample(long period, TimeUnit unit) {
11800
11804
* @see <a href="http://reactivex.io/documentation/operators/sample.html">ReactiveX operators documentation: Sample</a>
11801
11805
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Backpressure">RxJava wiki: Backpressure</a>
11802
11806
* @see #throttleLast(long, TimeUnit)
11803
- * @since 2.0.5 - experimental
11807
+ * @since 2.1
11804
11808
*/
11805
11809
@CheckReturnValue
11806
11810
@BackpressureSupport(BackpressureKind.ERROR)
11807
11811
@SchedulerSupport(SchedulerSupport.COMPUTATION)
11808
- @Experimental
11809
11812
public final Flowable<T> sample(long period, TimeUnit unit, boolean emitLast) {
11810
11813
return sample(period, unit, Schedulers.computation(), emitLast);
11811
11814
}
@@ -11856,6 +11859,7 @@ public final Flowable<T> sample(long period, TimeUnit unit, Scheduler scheduler)
11856
11859
* <dd>You specify which {@link Scheduler} this operator will use</dd>
11857
11860
* </dl>
11858
11861
*
11862
+ * <p>History: 2.0.5 - experimental
11859
11863
* @param period
11860
11864
* the sampling rate
11861
11865
* @param unit
@@ -11871,12 +11875,11 @@ public final Flowable<T> sample(long period, TimeUnit unit, Scheduler scheduler)
11871
11875
* @see <a href="http://reactivex.io/documentation/operators/sample.html">ReactiveX operators documentation: Sample</a>
11872
11876
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Backpressure">RxJava wiki: Backpressure</a>
11873
11877
* @see #throttleLast(long, TimeUnit, Scheduler)
11874
- * @since 2.0.5 - experimental
11878
+ * @since 2.1
11875
11879
*/
11876
11880
@CheckReturnValue
11877
11881
@BackpressureSupport(BackpressureKind.ERROR)
11878
11882
@SchedulerSupport(SchedulerSupport.CUSTOM)
11879
- @Experimental
11880
11883
public final Flowable<T> sample(long period, TimeUnit unit, Scheduler scheduler, boolean emitLast) {
11881
11884
ObjectHelper.requireNonNull(unit, "unit is null");
11882
11885
ObjectHelper.requireNonNull(scheduler, "scheduler is null");
@@ -11928,6 +11931,7 @@ public final <U> Flowable<T> sample(Publisher<U> sampler) {
11928
11931
* <dd>This version of {@code sample} does not operate by default on a particular {@link Scheduler}.</dd>
11929
11932
* </dl>
11930
11933
*
11934
+ * <p>History: 2.0.5 - experimental
11931
11935
* @param <U> the element type of the sampler Publisher
11932
11936
* @param sampler
11933
11937
* the Publisher to use for sampling the source Publisher
@@ -11939,12 +11943,11 @@ public final <U> Flowable<T> sample(Publisher<U> sampler) {
11939
11943
* the {@code sampler} Publisher emits an item or completes
11940
11944
* @see <a href="http://reactivex.io/documentation/operators/sample.html">ReactiveX operators documentation: Sample</a>
11941
11945
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Backpressure">RxJava wiki: Backpressure</a>
11942
- * @since 2.0.5 - experimental
11946
+ * @since 2.1
11943
11947
*/
11944
11948
@CheckReturnValue
11945
11949
@BackpressureSupport(BackpressureKind.ERROR)
11946
11950
@SchedulerSupport(SchedulerSupport.NONE)
11947
- @Experimental
11948
11951
public final <U> Flowable<T> sample(Publisher<U> sampler, boolean emitLast) {
11949
11952
ObjectHelper.requireNonNull(sampler, "sampler is null");
11950
11953
return RxJavaPlugins.onAssembly(new FlowableSamplePublisher<T>(this, sampler, emitLast));
@@ -12755,37 +12758,6 @@ public final Flowable<T> startWithArray(T... items) {
12755
12758
return concatArray(fromArray, this);
12756
12759
}
12757
12760
12758
- /**
12759
- * Ensures that the event flow between the upstream and downstream follow
12760
- * the Reactive-Streams 1.0 specification by honoring the 3 additional rules
12761
- * (which are omitted in standard operators due to performance reasons).
12762
- * <ul>
12763
- * <li>§1.3: onNext should not be called concurrently until onSubscribe returns</li>
12764
- * <li>§2.3: onError or onComplete must not call cancel</li>
12765
- * <li>§3.9: negative requests should emit an onError(IllegalArgumentException)</li>
12766
- * </ul>
12767
- * In addition, if rule §2.12 (onSubscribe must be called at most once) is violated,
12768
- * the sequence is cancelled an onError(IllegalStateException) is emitted.
12769
- * <dl>
12770
- * <dt><b>Backpressure:</b></dt>
12771
- * <dd>The operator doesn't interfere with backpressure which is determined by the source {@code Publisher}'s backpressure
12772
- * behavior.</dd>
12773
- * <dt><b>Scheduler:</b></dt>
12774
- * <dd>{@code strict} does not operate by default on a particular {@link Scheduler}.</dd>
12775
- * </dl>
12776
- * @return the new Flowable instance
12777
- * @since 2.0.5 - experimental
12778
- * @deprecated 2.0.7, will be removed in 2.1.0; by default, the Publisher interface is always strict
12779
- */
12780
- @BackpressureSupport(BackpressureKind.PASS_THROUGH)
12781
- @SchedulerSupport(SchedulerSupport.NONE)
12782
- @Experimental
12783
- @CheckReturnValue
12784
- @Deprecated
12785
- public final Flowable<T> strict() {
12786
- return this;
12787
- }
12788
-
12789
12761
/**
12790
12762
* Subscribes to a Publisher and ignores {@code onNext} and {@code onComplete} emissions.
12791
12763
* <p>
@@ -12997,12 +12969,13 @@ public final void subscribe(Subscriber<? super T> s) {
12997
12969
* <dt><b>Scheduler:</b></dt>
12998
12970
* <dd>{@code subscribe} does not operate by default on a particular {@link Scheduler}.</dd>
12999
12971
* </dl>
12972
+ * <p>History: 2.0.7 - experimental
13000
12973
* @param s the FlowableSubscriber that will consume signals from this Flowable
13001
- * @since 2.0.7 - experimental
12974
+ * @since 2.1 - beta
13002
12975
*/
13003
12976
@BackpressureSupport(BackpressureKind.SPECIAL)
13004
12977
@SchedulerSupport(SchedulerSupport.NONE)
13005
- @Experimental
12978
+ @Beta
13006
12979
public final void subscribe(FlowableSubscriber<? super T> s) {
13007
12980
ObjectHelper.requireNonNull(s, "s is null");
13008
12981
try {
0 commit comments