public interface RequestWithMetaData<T>
| Modifier and Type | Method and Description |
|---|---|
RibbonResponse<T> |
execute()
Blocking API that returns a single (or last element if there is a sequence of objects from the execution) element
|
rx.Observable<RibbonResponse<rx.Observable<T>>> |
observe()
Non blocking API that returns an
Observable while the execution is started asynchronously. |
java.util.concurrent.Future<RibbonResponse<T>> |
queue()
Non blocking API that returns a
Future, where its Future.get() method is blocking and returns a
single (or last element if there is a sequence of objects from the execution) element |
rx.Observable<RibbonResponse<rx.Observable<T>>> |
toObservable()
Non blocking API that returns an Observable.
|
rx.Observable<RibbonResponse<rx.Observable<T>>> observe()
Observable while the execution is started asynchronously.
Subscribing to the returned Observable is guaranteed to get the complete sequence from
the beginning, which might be replayed by the framework.rx.Observable<RibbonResponse<rx.Observable<T>>> toObservable()
java.util.concurrent.Future<RibbonResponse<T>> queue()
Future, where its Future.get() method is blocking and returns a
single (or last element if there is a sequence of objects from the execution) elementRibbonResponse<T> execute()