public class LockOptions extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
LockOptions.BackOff
Factory for LockOptions.BackOffPolicy class.
|
static interface |
LockOptions.BackOffPolicy
Generator of sleep period values for RedissonSpinLock back off
|
static class |
LockOptions.ConstantBackOff
Back off algorithm, where sleep period is constant and is defined by LockOptions.ConstantBackOff.delay.
|
static class |
LockOptions.ExponentialBackOff
Back off algorithm, where sleep period starts with LockOptions.ExponentialBackOff.initialDelay, each time increases
LockOptions.ExponentialBackOff.multiplier times but doesn't exceed LockOptions.ExponentialBackOff.maxDelay
|
Constructor and Description |
---|
LockOptions() |
Modifier and Type | Method and Description |
---|---|
static LockOptions.BackOff |
defaults()
Creates a new instance of ExponentialBackOffOptions with default options.
|
public static LockOptions.BackOff defaults()
Copyright © 2014–2021 Redisson. All rights reserved.