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() |
forceUnlock, forceUnlockAsync, getHoldCount, getHoldCountAsync, getName, isHeldByCurrentThread, isHeldByThread, isLocked, isLockedAsync, lock, lock, lockAsync, lockAsync, lockAsync, lockAsync, lockInterruptibly, lockInterruptibly, newCondition, remainTimeToLive, remainTimeToLiveAsync, tryLock, tryLock, tryLock, tryLockAsync, tryLockAsync, tryLockAsync, tryLockAsync, tryLockAsync, tryLockAsync, unlockAsync, 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–2021 Redisson. All rights reserved.