@Singleton @Named(value="semaphore-redisson") public class RedissonSemaphoreNamedLockFactory extends RedissonNamedLockFactorySupport
RedissonSemaphoreNamedLockFactory using Redisson and RSemaphore.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
NAME_PREFIX, redissonClient| Constructor and Description |
|---|
RedissonSemaphoreNamedLockFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock |
createLock(String name) |
protected void |
destroyLock(String name) |
shutdownpublic static final String NAME
public RedissonSemaphoreNamedLockFactory()
protected org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock createLock(String name)
createLock in class org.eclipse.aether.named.support.NamedLockFactorySupportprotected void destroyLock(String name)
destroyLock in class org.eclipse.aether.named.support.NamedLockFactorySupportCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.