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
NAME_PREFIX, redissonClient
Fields inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock
createLock
(String name) protected void
destroyLock
(String name) Methods inherited from class org.eclipse.aether.named.redisson.RedissonNamedLockFactorySupport
shutdown
Methods inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
closeLock, getLock, isDiagnosticEnabled, onFailure
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
RedissonSemaphoreNamedLockFactory
public RedissonSemaphoreNamedLockFactory()
-
-
Method Details
-
createLock
- Specified by:
createLock
in classorg.eclipse.aether.named.support.NamedLockFactorySupport
-
destroyLock
- Overrides:
destroyLock
in classorg.eclipse.aether.named.support.NamedLockFactorySupport
-