Class SyncFeedClient.SyncResult

java.lang.Object
com.yahoo.vespa.http.client.SyncFeedClient.SyncResult
Enclosing class:
SyncFeedClient

public static class SyncFeedClient.SyncResult extends Object
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 Details

    • results

      public List<Result> 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

      public Exception 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