public class FlushResult extends Object
Modifier and Type | Field and Description |
---|---|
protected List<DbOperation> |
failedOperations |
protected List<DbOperation> |
remainingOperations |
Constructor and Description |
---|
FlushResult(List<DbOperation> failedOperations,
List<DbOperation> remainingOperations) |
Modifier and Type | Method and Description |
---|---|
static FlushResult |
allApplied() |
List<DbOperation> |
getFailedOperations() |
List<DbOperation> |
getRemainingOperations() |
boolean |
hasFailures() |
boolean |
hasRemainingOperations() |
static FlushResult |
withFailures(List<DbOperation> failedOperations) |
static FlushResult |
withFailuresAndRemaining(List<DbOperation> failedOperations,
List<DbOperation> remainingOperations) |
protected List<DbOperation> failedOperations
protected List<DbOperation> remainingOperations
public FlushResult(List<DbOperation> failedOperations, List<DbOperation> remainingOperations)
public List<DbOperation> getFailedOperations()
public List<DbOperation> getRemainingOperations()
public boolean hasFailures()
public boolean hasRemainingOperations()
public static FlushResult allApplied()
public static FlushResult withFailures(List<DbOperation> failedOperations)
public static FlushResult withFailuresAndRemaining(List<DbOperation> failedOperations, List<DbOperation> remainingOperations)
Copyright © 2021. All rights reserved.