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()
RReadWriteLockRx
readLock
in interface RReadWriteLockRx
public RLockRx writeLock()
RReadWriteLockRx
writeLock
in interface RReadWriteLockRx
Copyright © 2014–2019 The Redisson Project. All rights reserved.