@Singleton public class NoOpPreResponseStore extends Object implements PreResponseStore
| Constructor and Description | 
|---|
NoOpPreResponseStore()  | 
| 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. 
 | 
public rx.Observable<PreResponse> get(String ticket)
PreResponseStore
 In case of any error while connecting to the PreResponseStore, the Observable's
 onError method gets called with the exception as payload.
get in interface PreResponseStoreticket - The ticket used to identify a job and it's resultspublic rx.Observable<String> save(String ticket, PreResponse preResponse)
PreResponseStore
 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.
save in interface PreResponseStoreticket - 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.