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
RedissonBaseLock
Base class for implementing distributed locksclass
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
RedissonMultiLock
Groups multiple independent locks and manages them as one lock.class
RedissonReadLock
Lock will be removed automatically if client disconnects.class
RedissonRedLock
RedLock locking algorithm implementation for multiple locks.class
RedissonSpinLock
Distributed implementation ofLock
Implements reentrant lock.
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
RedissonMap. getFairLock(K key)
RLock
RedissonMultimap. getFairLock(K key)
RLock
RedissonSet. getFairLock(V value)
RLock
RedissonSetCache. getFairLock(V value)
RLock
RedissonSetMultimapValues. getFairLock(V value)
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
Redisson. getMultiLock(RLock... locks)
RLock
Redisson. getRedLock(RLock... locks)
RLock
Redisson. getSpinLock(String name)
RLock
Redisson. getSpinLock(String name, LockOptions.BackOff backOff)
RLock
RedissonReadWriteLock. readLock()
RLock
RedissonReadWriteLock. writeLock()
Methods in org.redisson with parameters of type RLock Modifier and Type Method Description RLock
Redisson. getMultiLock(RLock... locks)
RLockReactive
RedissonReactive. getMultiLock(RLock... locks)
RLockRx
RedissonRx. getMultiLock(RLock... locks)
RLock
Redisson. getRedLock(RLock... locks)
RLockReactive
RedissonReactive. getRedLock(RLock... locks)
RLockRx
RedissonRx. getRedLock(RLock... locks)
Method parameters in org.redisson with type arguments of type RLock Modifier and Type Method Description 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
RMap. getFairLock(K key)
ReturnsRLock
instance associated with keyRLock
RMultimap. getFairLock(K key)
ReturnsRLock
instance associated with keyRLock
RSet. getFairLock(V value)
ReturnsRLock
instance associated withvalue
RLock
RSetCache. getFairLock(V value)
ReturnsRLock
instance associated withvalue
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
RedissonClient. getMultiLock(RLock... locks)
Returns MultiLock instance associated with specifiedlocks
RLock
RedissonClient. getRedLock(RLock... locks)
Deprecated.RLock
RedissonClient. getSpinLock(String name)
Returns Spin lock instance by name.RLock
RedissonClient. getSpinLock(String name, LockOptions.BackOff backOff)
Returns Spin lock instance by name with specified back off options.RLock
RReadWriteLock. readLock()
Returns the lock used for reading.RLock
RReadWriteLock. writeLock()
Returns the lock used for writing.Methods in org.redisson.api with parameters of type RLock Modifier and Type Method Description RLock
RedissonClient. getMultiLock(RLock... locks)
Returns MultiLock instance associated with specifiedlocks
RLockReactive
RedissonReactiveClient. getMultiLock(RLock... locks)
Returns MultiLock instance associated with specifiedlocks
RLockRx
RedissonRxClient. getMultiLock(RLock... locks)
Returns MultiLock instance associated with specifiedlocks
RLock
RedissonClient. getRedLock(RLock... locks)
Deprecated.RLockReactive
RedissonReactiveClient. getRedLock(RLock... locks)
Deprecated.RLockRx
RedissonRxClient. getRedLock(RLock... locks)
Deprecated. -
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 RLock
RedissonTransactionalMap. getFairLock(K key)
RLock
RedissonTransactionalMapCache. getFairLock(K key)
RLock
RedissonTransactionalSet. getFairLock(V value)
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)
RLock
RedissonTransactionalSet. getLock(V value)
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)
-