Package | Description |
---|---|
org.redisson | |
org.redisson.api |
Modifier and Type | Class and Description |
---|---|
class |
RedissonFairLock
Distributed implementation of
Lock
Implements reentrant lock. |
class |
RedissonLock
Distributed implementation of
Lock
Implements reentrant lock. |
class |
RedissonReadLock
Lock will be removed automatically if client disconnects.
|
class |
RedissonWriteLock
Lock will be removed automatically if client disconnects.
|
Modifier and Type | Method and Description |
---|---|
RLock |
Redisson.getFairLock(String name) |
RLock |
RedissonMultimap.getLock(K key) |
RLock |
RedissonMap.getLock(K key) |
RLock |
Redisson.getLock(String name) |
RLock |
RedissonReadWriteLock.readLock() |
RLock |
RedissonReadWriteLock.writeLock() |
Modifier and Type | Method and Description |
---|---|
protected int |
RedissonRedLock.minLocksAmount(List<RLock> locks) |
protected void |
RedissonMultiLock.unlockInner(Collection<RLock> locks) |
Constructor and Description |
---|
RedissonMultiLock(RLock... locks)
Creates instance with multiple
RLock objects. |
RedissonRedLock(RLock... locks)
Creates instance with multiple
RLock objects. |
Modifier and Type | Method and Description |
---|---|
RLock |
RedissonClient.getFairLock(String name)
Returns lock instance by name.
|
RLock |
RMultimap.getLock(K key)
Returns
RLock instance associated with key |
RLock |
RMap.getLock(K key)
Returns
RLock instance associated with key |
RLock |
RedissonClient.getLock(String name)
Returns lock instance by name.
|
RLock |
RReadWriteLock.readLock()
Returns the lock used for reading.
|
RLock |
RReadWriteLock.writeLock()
Returns the lock used for writing.
|
Copyright © 2014–2017 The Redisson Project. All rights reserved.