Class LockOptions.ConstantBackOff

  • All Implemented Interfaces:
    LockOptions.BackOff
    Enclosing class:
    LockOptions

    public static class LockOptions.ConstantBackOff
    extends Object
    implements LockOptions.BackOff
    Back off algorithm, where sleep period is constant and is defined by delay. To reduce possible negative effects of many threads simultaneously sending requests, a small random value is added to all sleep periods.
    • Constructor Detail

      • ConstantBackOff

        public ConstantBackOff()