public class HystrixCachedObservable<R>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected rx.Observable<R> |
cachedObservable |
protected rx.Subscription |
originalSubscription |
Modifier | Constructor and Description |
---|---|
protected |
HystrixCachedObservable(rx.Observable<R> originalObservable) |
Modifier and Type | Method and Description |
---|---|
static <R> HystrixCachedObservable<R> |
from(rx.Observable<R> o) |
static <R> HystrixCachedObservable<R> |
from(rx.Observable<R> o,
com.netflix.hystrix.AbstractCommand<R> originalCommand) |
rx.Observable<R> |
toObservable() |
void |
unsubscribe() |
protected final rx.Observable<R> cachedObservable
protected final rx.Subscription originalSubscription
protected HystrixCachedObservable(rx.Observable<R> originalObservable)
public static <R> HystrixCachedObservable<R> from(rx.Observable<R> o, com.netflix.hystrix.AbstractCommand<R> originalCommand)
public static <R> HystrixCachedObservable<R> from(rx.Observable<R> o)
public rx.Observable<R> toObservable()
public void unsubscribe()