Lock
public class RedissonRedLock extends RedissonMultiLock
Constructor | Description |
---|---|
RedissonRedLock(RLock... locks) |
Creates instance with multiple
RLock objects. |
Modifier and Type | Method | Description |
---|---|---|
protected long |
calcLockWaitTime(long remainTime) |
|
protected int |
failedLocksLimit() |
|
protected int |
minLocksAmount(List<RLock> locks) |
|
void |
unlock() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkRemainTimeAsync, lock, lock, lockAsync, lockInterruptibly, lockInterruptibly, newCondition, tryLock, tryLock, tryLock, tryLockAsync, tryLockAsync, unlockAsync, unlockInner, unlockInnerAsync
protected int failedLocksLimit()
failedLocksLimit
in class RedissonMultiLock
protected long calcLockWaitTime(long remainTime)
calcLockWaitTime
in class RedissonMultiLock
public void unlock()
unlock
in interface Lock
unlock
in class RedissonMultiLock
Copyright © 2014–2018 The Redisson Project. All rights reserved.