Uses of Interface
org.redisson.api.RLock
Package
Description
-
Uses of RLock in org.redisson
Modifier and TypeClassDescriptionclass
Base class for implementing distributed locksclass
Distributed implementation ofLock
Implements reentrant lock.
Lock will be removed automatically if client disconnects.class
Redis based implementation of Fenced Lock with reentrancy support.class
Distributed implementation ofLock
Implements reentrant lock.
Lock will be removed automatically if client disconnects.class
Groups multiple independent locks and manages them as one lock.class
Lock will be removed automatically if client disconnects.class
Deprecated.class
Distributed implementation ofLock
Implements reentrant lock.
Lock will be removed automatically if client disconnects.class
Lock will be removed automatically if client disconnects.Modifier and TypeMethodDescriptionRedisson.getFairLock
(String name) RedissonMap.getFairLock
(K key) RedissonMultimap.getFairLock
(K key) RedissonSet.getFairLock
(V value) RedissonSetCache.getFairLock
(V value) RedissonSetMultimapValues.getFairLock
(V value) Redisson.getMultiLock
(RLock... locks) Redisson.getRedLock
(RLock... locks) Redisson.getSpinLock
(String name) Redisson.getSpinLock
(String name, LockOptions.BackOff backOff) RedissonReadWriteLock.readLock()
RedissonReadWriteLock.writeLock()
Modifier and TypeMethodDescriptionRedisson.getMultiLock
(RLock... locks) RedissonReactive.getMultiLock
(RLock... locks) RedissonRx.getMultiLock
(RLock... locks) Redisson.getRedLock
(RLock... locks) RedissonReactive.getRedLock
(RLock... locks) RedissonRx.getRedLock
(RLock... locks) Modifier and TypeMethodDescriptionprotected int
RedissonRedLock.minLocksAmount
(List<RLock> locks) Deprecated.protected void
RedissonMultiLock.unlockInner
(Collection<RLock> locks) RedissonMultiLock.unlockInnerAsync
(Collection<RLock> locks, long threadId) ModifierConstructorDescriptionRedissonMultiLock
(RLock... locks) Creates instance with multipleRLock
objects.RedissonRedLock
(RLock... locks) Deprecated.Creates instance with multipleRLock
objects. -
Uses of RLock in org.redisson.api
Modifier and TypeInterfaceDescriptioninterface
Redis based implementation of Fenced Lock with reentrancy support.Modifier and TypeMethodDescriptionRedissonClient.getFairLock
(String name) Returns Lock instance by name.RMap.getFairLock
(K key) ReturnsRLock
instance associated with keyRMultimap.getFairLock
(K key) ReturnsRLock
instance associated with keyRSet.getFairLock
(V value) ReturnsRLock
instance associated withvalue
Returns Lock instance by name.ReturnsRLock
instance associated with keyReturnsRLock
instance associated with keyReturns lock instance associated withvalue
RedissonClient.getMultiLock
(RLock... locks) Returns MultiLock instance associated with specifiedlocks
RedissonClient.getRedLock
(RLock... locks) Deprecated.RedissonClient.getSpinLock
(String name) Returns Spin lock instance by name.RedissonClient.getSpinLock
(String name, LockOptions.BackOff backOff) Returns Spin lock instance by name with specified back off options.RReadWriteLock.readLock()
Returns the lock used for reading.RReadWriteLock.writeLock()
Returns the lock used for writing.Modifier and TypeMethodDescriptionRedissonClient.getMultiLock
(RLock... locks) Returns MultiLock instance associated with specifiedlocks
RedissonReactiveClient.getMultiLock
(RLock... locks) Deprecated.RedissonRxClient.getMultiLock
(RLock... locks) Deprecated.RedissonClient.getRedLock
(RLock... locks) Deprecated.RedissonReactiveClient.getRedLock
(RLock... locks) Deprecated.RedissonRxClient.getRedLock
(RLock... locks) Deprecated. -
Uses of RLock in org.redisson.transaction
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionRedissonTransactionalMap.getFairLock
(K key) RedissonTransactionalMapCache.getFairLock
(K key) RedissonTransactionalSet.getFairLock
(V value) protected RLock
protected RLock
BaseTransactionalObject.getReadLock()
protected RLock
BaseTransactionalObject.getWriteLock()
Modifier and TypeMethodDescriptionprotected <R> RFuture
<R> BaseTransactionalObject.executeLocked
(long threadId, long timeout, Supplier<CompletionStage<R>> runnable, RLock lock) protected <R> RFuture
<R> BaseTransactionalObject.executeLocked
(long timeout, Supplier<CompletionStage<R>> runnable, RLock lock) Modifier and TypeMethodDescriptionprotected <R> RFuture
<R> BaseTransactionalObject.executeLocked
(long timeout, Supplier<CompletionStage<R>> runnable, List<RLock> locks) -
Uses of RLock in org.redisson.transaction.operation.map
Modifier and TypeMethodDescriptionprotected RLock
MapOperation.getLock
(RMap<?, ?> map, CommandAsyncExecutor commandExecutor, Object key) -
Uses of RLock in org.redisson.transaction.operation.set
Modifier and TypeMethodDescriptionprotected RLock
SetOperation.getLock
(RSet<?> setCache, CommandAsyncExecutor commandExecutor, Object value) protected RLock
SetOperation.getLock
(RSetCache<?> setCache, CommandAsyncExecutor commandExecutor, Object value) protected RLock
SetOperation.getReadLock
(String readLockName, CommandAsyncExecutor commandExecutor)