public class RedissonRedLock extends RedissonMultiLock
| Constructor and Description |
|---|
RedissonRedLock(RLock... locks)
Creates instance with multiple
RLock objects. |
| Modifier and Type | Method and Description |
|---|---|
protected long |
calcLockWaitTime(long remainTime) |
protected int |
failedLocksLimit() |
protected int |
minLocksAmount(List<RLock> locks) |
void |
unlock() |
checkRemainTimeAsync, lock, lock, lockAsync, lockInterruptibly, lockInterruptibly, newCondition, tryLock, tryLock, tryLock, tryLockAsync, tryLockAsync, unlockAsync, unlockInner, unlockInnerAsyncprotected int failedLocksLimit()
failedLocksLimit in class RedissonMultiLockprotected long calcLockWaitTime(long remainTime)
calcLockWaitTime in class RedissonMultiLockpublic void unlock()
unlock in interface Lockunlock in class RedissonMultiLockCopyright © 2014–2018 The Redisson Project. All rights reserved.