Class RedissonNamedLockFactorySupport
java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.redisson.RedissonNamedLockFactorySupport
- All Implemented Interfaces:
NamedLockFactory
- Direct Known Subclasses:
RedissonReadWriteLockNamedLockFactory
,RedissonSemaphoreNamedLockFactory
Support class for factories using
RedissonClient
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected static final String
protected final org.redisson.api.RedissonClient
static final String
Path to a Redisson configuration file in YAML format.static final String
Address of the Redis instance.Fields inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
logger, SYSTEM_PROP_DIAGNOSTIC_ENABLED
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
closeLock, createLock, destroyLock, doGetLock, getLock, getLockAndRefTrack, isDiagnosticEnabled, onFailure, shutdown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.aether.named.NamedLockFactory
getLock
-
Field Details
-
NAME_PREFIX
- See Also:
-
SYSTEM_PROP_CONFIG_FILE
Path to a Redisson configuration file in YAML format. Read official documentation for details.- Since:
- 1.7.0
- See Also:
- Sourced from:
System.getProperty(String, String)
- Value type:
String
-
SYSTEM_PROP_REDIS_ADDRESS
Address of the Redis instance. Optional.- Since:
- 2.0.0
- See Also:
- Sourced from:
System.getProperty(String, String)
- Value type:
String
- Default value:
DEFAULT_REDIS_ADDRESS
-
DEFAULT_REDIS_ADDRESS
- See Also:
-
redissonClient
-
-
Constructor Details
-
RedissonNamedLockFactorySupport
public RedissonNamedLockFactorySupport()
-
-
Method Details
-
doShutdown
- Overrides:
doShutdown
in classNamedLockFactorySupport
-