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