Skip to content

Commit 5411086

Browse files
committed
Revert "If cache() now supports backpressure, correct javadocs to indicate this."
This reverts commit ec3d522.
1 parent 47644d3 commit 5411086

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/rx/Observable.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3583,7 +3583,8 @@ public final <B> Observable<List<T>> buffer(Observable<B> boundary, int initialC
35833583
* of items that will use up memory.
35843584
* <dl>
35853585
* <dt><b>Backpressure Support:</b></dt>
3586-
* <dd>This operator supports backpressure.</dd>
3586+
* <dd>This operator does not support upstream backpressure as it is purposefully requesting and caching
3587+
* everything emitted.</dd>
35873588
* <dt><b>Scheduler:</b></dt>
35883589
* <dd>{@code cache} does not operate by default on a particular {@link Scheduler}.</dd>
35893590
* </dl>
@@ -3616,7 +3617,8 @@ public final Observable<T> cache() {
36163617
* of items that will use up memory.
36173618
* <dl>
36183619
* <dt><b>Backpressure Support:</b></dt>
3619-
* <dd>This operator supports backpressure.</dd>
3620+
* <dd>This operator does not support upstream backpressure as it is purposefully requesting and caching
3621+
* everything emitted.</dd>
36203622
* <dt><b>Scheduler:</b></dt>
36213623
* <dd>{@code cache} does not operate by default on a particular {@link Scheduler}.</dd>
36223624
* </dl>

0 commit comments

Comments
 (0)