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