Package org.redisson.reactive
Class RedissonReadWriteLockReactive
- java.lang.Object
-
- org.redisson.reactive.RedissonReadWriteLockReactive
-
- All Implemented Interfaces:
RReadWriteLockReactive
public class RedissonReadWriteLockReactive extends Object implements RReadWriteLockReactive
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description RedissonReadWriteLockReactive(CommandReactiveExecutor commandExecutor, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RLockReactive
readLock()
Returns the lock used for reading.RLockReactive
writeLock()
Returns the lock used for writing.
-
-
-
Constructor Detail
-
RedissonReadWriteLockReactive
public RedissonReadWriteLockReactive(CommandReactiveExecutor commandExecutor, String name)
-
-
Method Detail
-
readLock
public RLockReactive readLock()
Description copied from interface:RReadWriteLockReactive
Returns the lock used for reading.- Specified by:
readLock
in interfaceRReadWriteLockReactive
- Returns:
- the lock used for reading
-
writeLock
public RLockReactive writeLock()
Description copied from interface:RReadWriteLockReactive
Returns the lock used for writing.- Specified by:
writeLock
in interfaceRReadWriteLockReactive
- Returns:
- the lock used for writing
-
-