@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, redissonClient
logger
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 . |
shutdown
closeLock, destroyLock, finalize, getLock
public static final String NAME
public RedissonReadWriteLockNamedLockFactory()
protected ReadWriteLockNamedLock createLock(String name)
NamedLockFactorySupport
NamedLockSupport
for given name
, this method must never
return null
.createLock
in class NamedLockFactorySupport
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.