public abstract class BaseRedisDLockFactory extends AbstractDLockFactory
IDLockFactory.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
myOwnRedis
Flag to mark if the Redis resource (e.g.
|
| Constructor and Description |
|---|
BaseRedisDLockFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected JedisConnector |
getJedisConnector() |
String |
getRedisPassword() |
BaseRedisDLockFactory |
setJedisConnector(JedisConnector jedisConnector) |
BaseRedisDLockFactory |
setRedisPassword(String redisPassword) |
buildLockName, close, createAndInitLockInstance, createLock, createLockInternal, getLockNamePrefix, getLockProperties, getLockPropertiesMap, init, setLockNamePrefix, setLockPropertiesprotected boolean myOwnRedis
public String getRedisPassword()
public BaseRedisDLockFactory setRedisPassword(String redisPassword)
protected JedisConnector getJedisConnector()
public BaseRedisDLockFactory setJedisConnector(JedisConnector jedisConnector)
jedisPool - public void destroy()
destroy in class AbstractDLockFactoryCopyright © 2018 DDTH. All rights reserved.