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 TypeClassDescriptionclassBase class for implementing distributed locksclassDistributed implementation ofLockImplements reentrant lock.
Lock will be removed automatically if client disconnects.classRedis based implementation of Fenced Lock with reentrancy support.classDistributed implementation ofLockImplements reentrant lock.
Lock will be removed automatically if client disconnects.classGroups multiple independent locks and manages them as one lock.classLock will be removed automatically if client disconnects.classRedLock locking algorithm implementation for multiple locks.classDistributed implementation ofLockImplements reentrant lock.
Lock will be removed automatically if client disconnects.classLock 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 intRedissonRedLock.minLocksAmount(List<RLock> locks) protected voidRedissonMultiLock.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 multipleRLockobjects.RedissonRedLock(RLock... locks) Creates instance with multipleRLockobjects. -
Uses of RLock in org.redisson.api
Subinterfaces of RLock in org.redisson.apiModifier and TypeInterfaceDescriptioninterfaceRedis 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) ReturnsRLockinstance associated with keyRMultimap.getFairLock(K key) ReturnsRLockinstance associated with keyRSet.getFairLock(V value) ReturnsRLockinstance associated withvalueReturns Lock instance by name.ReturnsRLockinstance associated with keyReturnsRLockinstance associated with keyReturns lock instance associated withvalueRedissonClient.getMultiLock(RLock... locks) Returns MultiLock instance associated with specifiedlocksRedissonClient.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 specifiedlocksRedissonReactiveClient.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 TypeClassDescriptionclassclassclassMethods in org.redisson.transaction that return RLockModifier and TypeMethodDescriptionRedissonTransactionalMap.getFairLock(K key) RedissonTransactionalMapCache.getFairLock(K key) RedissonTransactionalSet.getFairLock(V value) protected RLockprotected RLockBaseTransactionalObject.getReadLock()protected RLockBaseTransactionalObject.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 RLockMapOperation.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 RLockSetOperation.getLock(RSet<?> setCache, CommandAsyncExecutor commandExecutor, Object value) protected RLockSetOperation.getLock(RSetCache<?> setCache, CommandAsyncExecutor commandExecutor, Object value) protected RLockSetOperation.getReadLock(String readLockName, CommandAsyncExecutor commandExecutor)