Uses of Class
com.pyranid.DatabaseException
-
Uses of DatabaseException in com.pyranid
Methods in com.pyranid that return types with arguments of type DatabaseExceptionModifier and TypeMethodDescription@NonNull List<@NonNull DatabaseException> TransactionRetryResult.getFailures()Gets the failed attempts that were retried before the transaction eventually succeeded.Methods in com.pyranid with parameters of type DatabaseExceptionModifier and TypeMethodDescription@NonNull DurationRetryPolicy.Backoff.delayAfterFailedAttempt(@NonNull Integer failedAttemptNumber, @NonNull DatabaseException failure) Determines how long to wait after a failed attempt before the next retry.@NonNull BooleanRetryPolicy.Condition.shouldRetry(@NonNull DatabaseException failure) Determines whether a failed transaction attempt should be retried.