Uses of Interface
org.redisson.api.RLock
Packages that use RLock
Package
Description
-
Uses of RLock in org.redisson
Classes in org.redisson that implement RLockModifier 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.Methods in org.redisson that return RLockModifier 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()
Methods in org.redisson with parameters of type RLockModifier 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) Method parameters in org.redisson with type arguments of type RLockModifier and TypeMethodDescriptionprotected int
RedissonRedLock.minLocksAmount
(List<RLock> locks) Deprecated.protected void
RedissonMultiLock.unlockInner
(Collection<RLock> locks) RedissonMultiLock.unlockInnerAsync
(Collection<RLock> locks, long threadId) Constructors in org.redisson with parameters of type RLockModifierConstructorDescriptionRedissonMultiLock
(RLock... locks) Creates instance with multipleRLock
objects.RedissonRedLock
(RLock... locks) Deprecated.Creates instance with multipleRLock
objects. -
Uses of RLock in org.redisson.api
Subinterfaces of RLock in org.redisson.apiModifier and TypeInterfaceDescriptioninterface
Redis based implementation of Fenced Lock with reentrancy support.Methods in org.redisson.api that return RLockModifier 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.Methods in org.redisson.api with parameters of type RLockModifier 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
Classes in org.redisson.transaction that implement RLockModifier and TypeClassDescriptionclass
class
class
Methods in org.redisson.transaction that return RLockModifier and TypeMethodDescriptionRedissonTransactionalMap.getFairLock
(K key) RedissonTransactionalMapCache.getFairLock
(K key) RedissonTransactionalSet.getFairLock
(V value) protected RLock
protected RLock
BaseTransactionalObject.getReadLock()
protected RLock
BaseTransactionalObject.getWriteLock()
Methods in org.redisson.transaction with parameters of type RLockModifier 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) Method parameters in org.redisson.transaction with type arguments of type RLockModifier 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
Methods in org.redisson.transaction.operation.map that return RLockModifier and TypeMethodDescriptionprotected 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 RLockModifier 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)