public class RedissonReadWriteLockRx extends Object implements RReadWriteLockRx
| Constructor and Description |
|---|
RedissonReadWriteLockRx(CommandRxExecutor commandExecutor,
String name) |
| Modifier and Type | Method and Description |
|---|---|
RLockRx |
readLock()
Returns the lock used for reading.
|
RLockRx |
writeLock()
Returns the lock used for writing.
|
public RedissonReadWriteLockRx(CommandRxExecutor commandExecutor, String name)
public RLockRx readLock()
RReadWriteLockRxreadLock in interface RReadWriteLockRxpublic RLockRx writeLock()
RReadWriteLockRxwriteLock in interface RReadWriteLockRxCopyright © 2014–2021 Redisson. All rights reserved.