Class RedissonSemaphoreNamedLockFactory
java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.redisson.RedissonNamedLockFactorySupport
org.eclipse.aether.named.redisson.RedissonSemaphoreNamedLockFactory
- All Implemented Interfaces:
org.eclipse.aether.named.NamedLockFactory
@Singleton
@Named("semaphore-redisson")
public class RedissonSemaphoreNamedLockFactory
extends RedissonNamedLockFactorySupport
Provider of
RedissonSemaphoreNamedLockFactory
using Redisson and RSemaphore
.-
Field Summary
Fields inherited from class org.eclipse.aether.named.redisson.RedissonNamedLockFactorySupport
DEFAULT_REDIS_ADDRESS, NAME_PREFIX, redissonClient, SYSTEM_PROP_CONFIG_FILE, SYSTEM_PROP_REDIS_ADDRESS
Fields inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
logger, SYSTEM_PROP_DIAGNOSTIC_ENABLED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock
createLock
(org.eclipse.aether.named.NamedLockKey key) protected void
destroyLock
(org.eclipse.aether.named.NamedLock namedLock) Methods inherited from class org.eclipse.aether.named.redisson.RedissonNamedLockFactorySupport
doShutdown
Methods inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
closeLock, 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
- See Also:
-
-
Constructor Details
-
RedissonSemaphoreNamedLockFactory
public RedissonSemaphoreNamedLockFactory()
-
-
Method Details
-
createLock
protected org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock createLock(org.eclipse.aether.named.NamedLockKey key) - Specified by:
createLock
in classorg.eclipse.aether.named.support.NamedLockFactorySupport
-
destroyLock
- Overrides:
destroyLock
in classorg.eclipse.aether.named.support.NamedLockFactorySupport
-