Interface LockOptions.BackOffPolicy

Enclosing class:
LockOptions

public static interface LockOptions.BackOffPolicy
Generator of sleep period values for RedissonSpinLock back off
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Generates and returns next sleep period
  • Method Details

    • getNextSleepPeriod

      long getNextSleepPeriod()
      Generates and returns next sleep period
      Returns:
      next sleep period