Package org.redisson.reactive
Class RedissonReadWriteLockReactive
java.lang.Object
org.redisson.reactive.RedissonReadWriteLockReactive
- All Implemented Interfaces:
RReadWriteLockReactive
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorDescriptionRedissonReadWriteLockReactive
(CommandReactiveExecutor commandExecutor, String name) -
Method Summary
Modifier and TypeMethodDescriptionreadLock()
Returns the lock used for reading.Returns the lock used for writing.
-
Constructor Details
-
RedissonReadWriteLockReactive
-
-
Method Details
-
readLock
Description copied from interface:RReadWriteLockReactive
Returns the lock used for reading.- Specified by:
readLock
in interfaceRReadWriteLockReactive
- Returns:
- the lock used for reading
-
writeLock
Description copied from interface:RReadWriteLockReactive
Returns the lock used for writing.- Specified by:
writeLock
in interfaceRReadWriteLockReactive
- Returns:
- the lock used for writing
-