Class RedissonReadWriteLockNamedLockFactory
java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.redisson.RedissonNamedLockFactorySupport
org.eclipse.aether.named.redisson.RedissonReadWriteLockNamedLockFactory
- All Implemented Interfaces:
NamedLockFactory
@Singleton
@Named("rwlock-redisson")
public class RedissonReadWriteLockNamedLockFactory
extends RedissonNamedLockFactorySupport
Provider of
RedissonReadWriteLockNamedLockFactory
using Redisson and RReadWriteLock
.-
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 ReadWriteLockNamedLock
createLock
(String name) Implementations shall create and returnNamedLockSupport
for givenname
, this method must never returnnull
.Methods inherited from class org.eclipse.aether.named.redisson.RedissonNamedLockFactorySupport
shutdown
Methods inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
closeLock, destroyLock, getLock
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
RedissonReadWriteLockNamedLockFactory
-
-
Method Details
-
createLock
Description copied from class:NamedLockFactorySupport
Implementations shall create and returnNamedLockSupport
for givenname
, this method must never returnnull
.- Specified by:
createLock
in classNamedLockFactorySupport
-