@Singleton @Named(value="rwlock-redisson") public class RedissonReadWriteLockNamedLockFactory extends RedissonNamedLockFactorySupport
RedissonReadWriteLockNamedLockFactory using Redisson and RReadWriteLock.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
NAME_PREFIX, redissonClientlogger| Constructor and Description |
|---|
RedissonReadWriteLockNamedLockFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected ReadWriteLockNamedLock |
createLock(String name)
Implementations shall create and return
NamedLockSupport for given name, this method must never
return null. |
shutdowncloseLock, destroyLock, finalize, getLockpublic static final String NAME
public RedissonReadWriteLockNamedLockFactory()
protected ReadWriteLockNamedLock createLock(String name)
NamedLockFactorySupportNamedLockSupport for given name, this method must never
return null.createLock in class NamedLockFactorySupportCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.