Class FlushResult


  • public class FlushResult
    extends java.lang.Object
    • Field Detail

      • failedOperations

        protected java.util.List<DbOperation> failedOperations
      • remainingOperations

        protected java.util.List<DbOperation> remainingOperations
    • Constructor Detail

      • FlushResult

        public FlushResult​(java.util.List<DbOperation> failedOperations,
                           java.util.List<DbOperation> remainingOperations)
    • Method Detail

      • getFailedOperations

        public java.util.List<DbOperation> getFailedOperations()
        Returns:
        the operation that could not be performed
      • getRemainingOperations

        public java.util.List<DbOperation> getRemainingOperations()
        Returns:
        operations that were not applied, because a preceding operation failed
      • hasFailures

        public boolean hasFailures()
      • hasRemainingOperations

        public boolean hasRemainingOperations()
      • withFailuresAndRemaining

        public static FlushResult withFailuresAndRemaining​(java.util.List<DbOperation> failedOperations,
                                                           java.util.List<DbOperation> remainingOperations)