@Override public RCountDownLatch getCountDownLatch(V value) { String lockName = getLockName(value, "countdownlatch"); return new RedissonCountDownLatch(commandExecutor, lockName); }
@Override protected RLock getLock(RCollectionAsync<V> set, V value) { String lockName = ((RedissonSetCache<V>)set).getLockName(value, "lock"); return new RedissonTransactionalLock(commandExecutor, lockName, transactionId); }
@Override public RLock getLock(V value) { String lockName = getLockName(value, "lock"); return new RedissonLock(commandExecutor, lockName); }
@Override public RLock getFairLock(V value) { String lockName = getLockName(value, "fairlock"); return new RedissonFairLock(commandExecutor, lockName); }
@Override public RLock getLock(V value) { String lockName = getLockName(value, "lock"); return new RedissonLock(commandExecutor, lockName); }
@Override public RReadWriteLock getReadWriteLock(V value) { String lockName = getLockName(value, "rw_lock"); return new RedissonReadWriteLock(commandExecutor, lockName); }
@Override public RLock getFairLock(V value) { String lockName = getLockName(value, "fairlock"); return new RedissonFairLock(commandExecutor, lockName); }
@Override public RReadWriteLock getReadWriteLock(V value) { String lockName = getLockName(value, "rw_lock"); return new RedissonReadWriteLock(commandExecutor, lockName); }
@Override protected RLock getLock(RCollectionAsync<V> set, V value) { String lockName = ((RedissonSetCache<V>)set).getLockName(value, "lock"); return new RedissonTransactionalLock(commandExecutor, lockName, transactionId); }
public RReadWriteLockRx getReadWriteLock(V value) { String name = ((RedissonSetCache<V>)instance).getLockName(value, "rw_lock"); return redisson.getReadWriteLock(name); }
@Override public RCountDownLatch getCountDownLatch(V value) { String lockName = getLockName(value, "countdownlatch"); return new RedissonCountDownLatch(commandExecutor, lockName); }
public RPermitExpirableSemaphoreReactive getPermitExpirableSemaphore(V value) { String name = ((RedissonSetCache<V>)instance).getLockName(value, "permitexpirablesemaphore"); return redisson.getPermitExpirableSemaphore(name); }
public RSemaphoreReactive getSemaphore(V value) { String name = ((RedissonSetCache<V>)instance).getLockName(value, "semaphore"); return redisson.getSemaphore(name); }
public RPermitExpirableSemaphoreRx getPermitExpirableSemaphore(V value) { String name = ((RedissonSetCache<V>)instance).getLockName(value, "permitexpirablesemaphore"); return redisson.getPermitExpirableSemaphore(name); }
public RLockRx getLock(V value) { String name = ((RedissonSetCache<V>)instance).getLockName(value, "lock"); return redisson.getLock(name); }
public RPermitExpirableSemaphoreReactive getPermitExpirableSemaphore(V value) { String name = ((RedissonSetCache<V>)instance).getLockName(value, "permitexpirablesemaphore"); return redisson.getPermitExpirableSemaphore(name); }
@Override public RSemaphore getSemaphore(V value) { String lockName = getLockName(value, "semaphore"); return new RedissonSemaphore(commandExecutor, lockName, ((Redisson)redisson).getSemaphorePubSub()); }
@Override public RPermitExpirableSemaphore getPermitExpirableSemaphore(V value) { String lockName = getLockName(value, "permitexpirablesemaphore"); return new RedissonPermitExpirableSemaphore(commandExecutor, lockName, ((Redisson)redisson).getSemaphorePubSub()); }
@Override public RPermitExpirableSemaphore getPermitExpirableSemaphore(V value) { String lockName = getLockName(value, "permitexpirablesemaphore"); return new RedissonPermitExpirableSemaphore(commandExecutor, lockName, ((Redisson)redisson).getSemaphorePubSub()); }
@Override public RSemaphore getSemaphore(V value) { String lockName = getLockName(value, "semaphore"); return new RedissonSemaphore(commandExecutor, lockName, ((Redisson)redisson).getSemaphorePubSub()); }