Class RedissonRedLockWithCustomMinLocks

  • All Implemented Interfaces:
    java.util.concurrent.locks.Lock, org.redisson.api.RLock, org.redisson.api.RLockAsync

    public class RedissonRedLockWithCustomMinLocks
    extends org.redisson.RedissonRedLock
    • Constructor Summary

      Constructors 
      Constructor Description
      RedissonRedLockWithCustomMinLocks​(int fixedMinLocksAmount, scala.collection.immutable.Seq<org.redisson.api.RLock> rLocks)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int failedLocksLimit()  
      int fixedMinLocksAmount()  
      protected int minLocksAmount​(java.util.List<org.redisson.api.RLock> locks)  
      scala.collection.immutable.Seq<org.redisson.api.RLock> rLocks()  
      • Methods inherited from class org.redisson.RedissonRedLock

        calcLockWaitTime, unlock
      • Methods inherited from class org.redisson.RedissonMultiLock

        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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RedissonRedLockWithCustomMinLocks

        public RedissonRedLockWithCustomMinLocks​(int fixedMinLocksAmount,
                                                 scala.collection.immutable.Seq<org.redisson.api.RLock> rLocks)
    • Method Detail

      • failedLocksLimit

        protected int failedLocksLimit()
        Overrides:
        failedLocksLimit in class org.redisson.RedissonRedLock
      • fixedMinLocksAmount

        public int fixedMinLocksAmount()
      • minLocksAmount

        protected int minLocksAmount​(java.util.List<org.redisson.api.RLock> locks)
        Overrides:
        minLocksAmount in class org.redisson.RedissonRedLock
      • rLocks

        public scala.collection.immutable.Seq<org.redisson.api.RLock> rLocks()