A BackoffStrategy that implements binary exponential backoff. It returns a delay between 0 and 2**c - 1 inclusive, where c is the attempt number (starting at 1 for the delay after the first attempt). c is clamped at cMax. The delay is scaled by scale milliseconds.
A vendor-neutral DeadlockDetector, which considers every SQLException to be a deadlock. One of the vendor-specific implementations should be used if possible, which will prevent non-deadlock errors (such as unique constraint violations) from being needlessly retried.