Uses of Interface
org.redisson.api.RLock
-
Packages that use RLock Package Description org.redisson org.redisson.api org.redisson.transaction org.redisson.transaction.operation.map org.redisson.transaction.operation.set -
-
Uses of RLock in org.redisson
Classes in org.redisson that implement RLock Modifier and Type Class Description class
RedissonFairLock
Distributed implementation ofLock
Implements reentrant lock.
Lock will be removed automatically if client disconnects.class
RedissonLock
Distributed implementation ofLock
Implements reentrant lock.
Lock will be removed automatically if client disconnects.class
RedissonReadLock
Lock will be removed automatically if client disconnects.class
RedissonWriteLock
Lock will be removed automatically if client disconnects.Methods in org.redisson that return RLock Modifier and Type Method Description RLock
Redisson. getFairLock(String name)
RLock
Redisson. getLock(String name)
RLock
RedissonMap. getLock(K key)
RLock
RedissonMultimap. getLock(K key)
RLock
RedissonSet. getLock(V value)
RLock
RedissonSetCache. getLock(V value)
RLock
RedissonSetMultimapValues. getLock(V value)
RLock
RedissonReadWriteLock. readLock()
RLock
RedissonReadWriteLock. writeLock()
Method parameters in org.redisson with type arguments of type RLock Modifier and Type Method Description protected void
RedissonMultiLock. checkRemainTimeAsync(ListIterator<RLock> iterator, List<RLock> acquiredLocks, RPromise<Boolean> result, long lockWaitTime, long waitTime, long leaseTime, long newLeaseTime, AtomicLong remainTime, AtomicLong time, AtomicInteger failedLocksLimit, TimeUnit unit, long threadId)
protected void
RedissonMultiLock. checkRemainTimeAsync(ListIterator<RLock> iterator, List<RLock> acquiredLocks, RPromise<Boolean> result, long lockWaitTime, long waitTime, long leaseTime, long newLeaseTime, AtomicLong remainTime, AtomicLong time, AtomicInteger failedLocksLimit, TimeUnit unit, long threadId)
protected int
RedissonRedLock. minLocksAmount(List<RLock> locks)
protected void
RedissonMultiLock. unlockInner(Collection<RLock> locks)
protected RFuture<Void>
RedissonMultiLock. unlockInnerAsync(Collection<RLock> locks, long threadId)
Constructors in org.redisson with parameters of type RLock Constructor Description RedissonMultiLock(RLock... locks)
Creates instance with multipleRLock
objects.RedissonRedLock(RLock... locks)
Creates instance with multipleRLock
objects. -
Uses of RLock in org.redisson.api
Methods in org.redisson.api that return RLock Modifier and Type Method Description RLock
RedissonClient. getFairLock(String name)
Returns lock instance by name.RLock
RedissonClient. getLock(String name)
Returns lock instance by name.RLock
RMap. getLock(K key)
ReturnsRLock
instance associated with keyRLock
RMultimap. getLock(K key)
ReturnsRLock
instance associated with keyRLock
RSet. getLock(V value)
Returns lock instance associated withvalue
RLock
RSetCache. getLock(V value)
Returns lock instance associated withvalue
RLock
RReadWriteLock. readLock()
Returns the lock used for reading.RLock
RReadWriteLock. writeLock()
Returns the lock used for writing. -
Uses of RLock in org.redisson.transaction
Classes in org.redisson.transaction that implement RLock Modifier and Type Class Description class
RedissonTransactionalLock
Methods in org.redisson.transaction that return RLock Modifier and Type Method Description protected RLock
BaseTransactionalMap. getLock(K key)
protected abstract RLock
BaseTransactionalSet. getLock(RCollectionAsync<V> set, V value)
RLock
RedissonTransactionalMap. getLock(K key)
RLock
RedissonTransactionalMapCache. getLock(K key)
protected RLock
TransactionalSet. getLock(RCollectionAsync<V> set, V value)
protected RLock
TransactionalSetCache. getLock(RCollectionAsync<V> set, V value)
Methods in org.redisson.transaction with parameters of type RLock Modifier and Type Method Description protected <R> void
BaseTransactionalMap. executeLocked(RPromise<R> promise, Runnable runnable, RLock lock)
protected <R> void
BaseTransactionalSet. executeLocked(RPromise<R> promise, Runnable runnable, RLock lock)
-
Uses of RLock in org.redisson.transaction.operation.map
Methods in org.redisson.transaction.operation.map that return RLock Modifier and Type Method Description protected RLock
MapOperation. getLock(RMap<?,?> map, CommandAsyncExecutor commandExecutor, Object key)
-
Uses of RLock in org.redisson.transaction.operation.set
Methods in org.redisson.transaction.operation.set that return RLock Modifier and Type Method Description protected RLock
SetOperation. getLock(RSet<?> setCache, CommandAsyncExecutor commandExecutor, Object value)
protected RLock
SetOperation. getLock(RSetCache<?> setCache, CommandAsyncExecutor commandExecutor, Object value)
-