Skip to content

Commit 181c0aa

Browse files
Marking OnBackpressureBlock as @experimental
I chose Experimental instead of Beta since we may still change how it behaves based on what Scheduler is being used.
1 parent f503e44 commit 181c0aa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/rx/Observable.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
import java.util.*;
1616
import java.util.concurrent.*;
1717

18+
import rx.annotations.Experimental;
1819
import rx.exceptions.*;
1920
import rx.functions.*;
2021
import rx.internal.operators.*;
2122
import rx.internal.util.ScalarSynchronousObservable;
2223
import rx.internal.util.UtilityFunctions;
23-
2424
import rx.observables.*;
2525
import rx.observers.SafeSubscriber;
2626
import rx.plugins.*;
@@ -5070,7 +5070,9 @@ public final Observable<T> onBackpressureDrop() {
50705070
* @param maxQueueLength the maximum number of items the producer can emit without blocking
50715071
* @return the source Observable modified to block {@code onNext} notifications on overflow
50725072
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Backpressure">RxJava wiki: Backpressure</a>
5073+
* @Experimental The behavior of this can change at any time.
50735074
*/
5075+
@Experimental
50745076
public final Observable<T> onBackpressureBlock(int maxQueueLength) {
50755077
return lift(new OperatorOnBackpressureBlock<T>(maxQueueLength));
50765078
}
@@ -5087,7 +5089,9 @@ public final Observable<T> onBackpressureBlock(int maxQueueLength) {
50875089
*
50885090
* @return the source Observable modified to block {@code onNext} notifications on overflow
50895091
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Backpressure">RxJava wiki: Backpressure</a>
5092+
* @Experimental The behavior of this can change at any time.
50905093
*/
5094+
@Experimental
50915095
public final Observable<T> onBackpressureBlock() {
50925096
return onBackpressureBlock(rx.internal.util.RxRingBuffer.SIZE);
50935097
}

0 commit comments

Comments
 (0)