Class LocalReadWriteLockNamedLockFactory
java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.providers.LocalReadWriteLockNamedLockFactory
- All Implemented Interfaces:
NamedLockFactory
@Singleton
@Named("rwlock-local")
public class LocalReadWriteLockNamedLockFactory
extends NamedLockFactorySupport
A JVM-local named lock factory that uses named
ReentrantReadWriteLock
s.-
Field Summary
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.support.NamedLockFactorySupport
closeLock, destroyLock, finalize, getLock, shutdown
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
LocalReadWriteLockNamedLockFactory
public LocalReadWriteLockNamedLockFactory()
-
-
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
-