Class RedissonNamedLockFactorySupport
java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.redisson.RedissonNamedLockFactorySupport
- All Implemented Interfaces:
org.eclipse.aether.named.NamedLockFactory
- Direct Known Subclasses:
RedissonReadWriteLockNamedLockFactory,RedissonSemaphoreNamedLockFactory
public abstract class RedissonNamedLockFactorySupport
extends org.eclipse.aether.named.support.NamedLockFactorySupport
Support class for factories using
RedissonClient.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected static final Stringprotected final org.redisson.api.RedissonClientstatic final StringPath to a Redisson configuration file in YAML format.static final StringAddress of the Redis instance.Fields inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
logger, SYSTEM_PROP_DIAGNOSTIC_ENABLED -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
closeLock, createLock, destroyLock, doGetLock, getLock, getLockAndRefTrack, isDiagnosticEnabled, onFailure, shutdownMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
doShutdownin classorg.eclipse.aether.named.support.NamedLockFactorySupport
-