@@ -3360,14 +3360,12 @@ public final <B> Observable<List<T>> buffer(Observable<B> boundary, int initialC
3360
3360
* begin cacheing items. This only happens when the first Subscriber calls the resulting Observable's
3361
3361
* {@code subscribe} method.
3362
3362
* <p>
3363
- *
3364
3363
* <em>Note:</em> You sacrifice the ability to unsubscribe from the origin when you use the {@code cache}
3365
3364
* Observer so be careful not to use this Observer on Observables that emit an infinite or very large number
3366
3365
* of items that will use up memory.
3367
3366
* <p>
3368
3367
* {@code cache} does not operate by default on a particular {@link Scheduler}.
3369
3368
*
3370
- * @warn description may be out-of-date
3371
3369
* @return an Observable that, when first subscribed to, caches all of its items and notifications for the
3372
3370
* benefit of subsequent subscribers
3373
3371
* @see <a href="https://github.com/Netflix/RxJava/wiki/Observable-Utility-Operators#cache">RxJava Wiki: cache()</a>
@@ -3391,18 +3389,17 @@ public final Observable<T> cache() {
3391
3389
* begin cacheing items. This only happens when the first Subscriber calls the resulting Observable's
3392
3390
* {@code subscribe} method.
3393
3391
* <p>
3394
- *
3395
3392
* <em>Note:</em> You sacrifice the ability to unsubscribe from the origin when you use the {@code cache}
3396
3393
* Observer so be careful not to use this Observer on Observables that emit an infinite or very large number
3397
3394
* of items that will use up memory.
3398
3395
* <p>
3399
3396
* {@code cache} does not operate by default on a particular {@link Scheduler}.
3400
3397
*
3401
- * @warn description may be out-of-date
3402
3398
* @param capacity hint for number of items to cache (for optimizing underlying data structure)
3403
3399
* @return an Observable that, when first subscribed to, caches all of its items and notifications for the
3404
3400
* benefit of subsequent subscribers
3405
3401
* @see <a href="https://github.com/Netflix/RxJava/wiki/Observable-Utility-Operators#cache">RxJava Wiki: cache()</a>
3402
+ * @since 0.20
3406
3403
*/
3407
3404
public final Observable <T > cache (int capacity ) {
3408
3405
return create (new OnSubscribeCache <T >(this , capacity ));
0 commit comments