Package | Description |
---|---|
org.redisson | |
org.redisson.api | |
org.redisson.transaction | |
org.redisson.transaction.operation.map | |
org.redisson.transaction.operation.set |
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 |
RedissonMultiLock
Groups multiple independent locks and manages them as one lock.
|
class |
RedissonReadLock
Lock will be removed automatically if client disconnects.
|
class |
RedissonRedLock
RedLock locking algorithm implementation for multiple locks.
|
class |
RedissonWriteLock
Lock will be removed automatically if client disconnects.
|
Modifier and Type | Method and Description |
---|---|
RLock |
RedissonMultimap.getFairLock(K key) |
RLock |
RedissonMap.getFairLock(K key) |
RLock |
Redisson.getFairLock(String name) |
RLock |
RedissonSetMultimapValues.getFairLock(V value) |
RLock |
RedissonSetCache.getFairLock(V value) |
RLock |
RedissonSet.getFairLock(V value) |
RLock |
RedissonMultimap.getLock(K key) |
RLock |
RedissonMap.getLock(K key) |
RLock |
Redisson.getLock(String name) |
RLock |
RedissonSetMultimapValues.getLock(V value) |
RLock |
RedissonSetCache.getLock(V value) |
RLock |
RedissonSet.getLock(V value) |
RLock |
Redisson.getMultiLock(RLock... locks) |
RLock |
Redisson.getRedLock(RLock... locks) |
RLock |
RedissonReadWriteLock.readLock() |
RLock |
RedissonReadWriteLock.writeLock() |
Modifier and Type | Method and Description |
---|---|
RLockRx |
RedissonRx.getMultiLock(RLock... locks) |
RLockReactive |
RedissonReactive.getMultiLock(RLock... locks) |
RLock |
Redisson.getMultiLock(RLock... locks) |
RLockRx |
RedissonRx.getRedLock(RLock... locks) |
RLockReactive |
RedissonReactive.getRedLock(RLock... locks) |
RLock |
Redisson.getRedLock(RLock... locks) |
Modifier and Type | Method and Description |
---|---|
protected int |
RedissonRedLock.minLocksAmount(List<RLock> locks) |
protected void |
RedissonMultiLock.unlockInner(Collection<RLock> locks) |
protected RFuture<Void> |
RedissonMultiLock.unlockInnerAsync(Collection<RLock> locks,
long threadId) |
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 |
RMultimap.getFairLock(K key)
Returns
RLock instance associated with key |
RLock |
RMap.getFairLock(K key)
Returns
RLock instance associated with key |
RLock |
RedissonClient.getFairLock(String name)
Returns Lock instance by name.
|
RLock |
RSetCache.getFairLock(V value)
Returns
RLock instance associated with value |
RLock |
RSet.getFairLock(V value)
Returns
RLock instance associated with value |
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 |
RSetCache.getLock(V value)
Returns lock instance associated with
value |
RLock |
RSet.getLock(V value)
Returns lock instance associated with
value |
RLock |
RedissonClient.getMultiLock(RLock... locks)
Returns MultiLock instance associated with specified
locks |
RLock |
RedissonClient.getRedLock(RLock... locks)
Returns RedLock instance associated with specified
locks |
RLock |
RReadWriteLock.readLock()
Returns the lock used for reading.
|
RLock |
RReadWriteLock.writeLock()
Returns the lock used for writing.
|
Modifier and Type | Method and Description |
---|---|
RLockRx |
RedissonRxClient.getMultiLock(RLock... locks)
Returns MultiLock instance associated with specified
locks |
RLockReactive |
RedissonReactiveClient.getMultiLock(RLock... locks)
Returns MultiLock instance associated with specified
locks |
RLock |
RedissonClient.getMultiLock(RLock... locks)
Returns MultiLock instance associated with specified
locks |
RLockRx |
RedissonRxClient.getRedLock(RLock... locks)
Returns RedLock instance associated with specified
locks |
RLockReactive |
RedissonReactiveClient.getRedLock(RLock... locks)
Returns RedLock instance associated with specified
locks |
RLock |
RedissonClient.getRedLock(RLock... locks)
Returns RedLock instance associated with specified
locks |
Modifier and Type | Class and Description |
---|---|
class |
RedissonTransactionalLock |
Modifier and Type | Method and Description |
---|---|
RLock |
RedissonTransactionalMapCache.getFairLock(K key) |
RLock |
RedissonTransactionalMap.getFairLock(K key) |
RLock |
RedissonTransactionalSet.getFairLock(V value) |
RLock |
RedissonTransactionalMapCache.getLock(K key) |
RLock |
RedissonTransactionalMap.getLock(K key) |
protected RLock |
BaseTransactionalMap.getLock(K key) |
protected RLock |
TransactionalSetCache.getLock(RCollectionAsync<V> set,
V value) |
protected RLock |
TransactionalSet.getLock(RCollectionAsync<V> set,
V value) |
protected abstract RLock |
BaseTransactionalSet.getLock(RCollectionAsync<V> set,
V value) |
RLock |
RedissonTransactionalSet.getLock(V value) |
Modifier and Type | Method and Description |
---|---|
protected <R> void |
BaseTransactionalSet.executeLocked(RPromise<R> promise,
Runnable runnable,
RLock lock) |
protected <R> void |
BaseTransactionalMap.executeLocked(RPromise<R> promise,
Runnable runnable,
RLock lock) |
Modifier and Type | Method and Description |
---|---|
protected RLock |
MapOperation.getLock(RMap<?,?> map,
CommandAsyncExecutor commandExecutor,
Object key) |
Modifier and Type | Method and Description |
---|---|
protected RLock |
SetOperation.getLock(RSet<?> setCache,
CommandAsyncExecutor commandExecutor,
Object value) |
protected RLock |
SetOperation.getLock(RSetCache<?> setCache,
CommandAsyncExecutor commandExecutor,
Object value) |
Copyright © 2014–2020 Redisson. All rights reserved.