Class SyncFeedClient.SyncResult

  • Enclosing class:
    SyncFeedClient

    public static class SyncFeedClient.SyncResult
    extends java.lang.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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Exception exception()
      Returns the last exception received when attempting the operations this is the result of, or null if none.
      boolean isSuccess()
      Returns true if all Results in this are successful
      java.util.List<Result> results()
      Returns the results of this.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • results

        public java.util.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 java.lang.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