public interface PreResponseStore
Modifier and Type | Method and Description |
---|---|
rx.Observable<PreResponse> |
get(String ticket)
Returns an Observable over a PreResponse associated with a given ticket.
|
rx.Observable<String> |
save(String ticket,
PreResponse preResponse)
Saves the specified PreResponse in the store.
|
rx.Observable<PreResponse> get(String ticket)
In case of any error while connecting to the PreResponseStore, the Observable's
onError
method gets called with the exception as payload.
ticket
- The ticket used to identify a job and it's resultsrx.Observable<String> save(String ticket, PreResponse preResponse)
This method returns an Observable with the given ticket as a payload. In case of any error while
connecting to the PreResponseStore, the Observable's onError
method gets called with the exception as
payload.
ticket
- The ticket used to identify a job and it's resultspreResponse
- The PreResponse associated with the given ticketCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.