Package com.yahoo.vespa.http.client
Class SyncFeedClient.SyncResult
java.lang.Object
com.yahoo.vespa.http.client.SyncFeedClient.SyncResult
- Enclosing class:
- SyncFeedClient
The result of a SyncFeedClient.stream call. This always holds exactly one Result per SyncOperation
attempted, and the results are guaranteed to be returned in the same order as in the List of SyncOperations.
-
Method Summary
-
Method Details
-
results
Returns the results of this. This has the same size and order as the List of SyncOperations that created this. The list returned is modifiable and owned by the client. Multiple calls to this returns the same list instance. -
exception
Returns the last exception received when attempting the operations this is the result of, or null if none. Even if there is an exception, results() will return one Result per operation attempted. -
isSuccess
public boolean isSuccess()Returns true if all Results in this are successful
-