Package org.redisson.api
Interface LockOptions.BackOffPolicy
- Enclosing class:
- LockOptions
public static interface LockOptions.BackOffPolicy
Generator of sleep period values for RedissonSpinLock back off
-
Method Summary
Modifier and TypeMethodDescriptionlong
Generates and returns next sleep period
-
Method Details
-
getNextSleepPeriod
long getNextSleepPeriod()Generates and returns next sleep period- Returns:
- next sleep period
-