@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, redissonClientlogger| Constructor and Description |
|---|
RedissonSemaphoreNamedLockFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected AdaptedSemaphoreNamedLock |
createLock(String name) |
protected void |
destroyLock(String name) |
shutdowncloseLock, finalize, getLockpublic static final String NAME
public RedissonSemaphoreNamedLockFactory()
protected AdaptedSemaphoreNamedLock createLock(String name)
createLock in class NamedLockFactorySupportprotected void destroyLock(String name)
destroyLock in class NamedLockFactorySupportCopyright © 2010–2021 The Apache Software Foundation. All rights reserved.