Class NoopNamedLockFactory
java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.providers.NoopNamedLockFactory
- All Implemented Interfaces:
NamedLockFactory
A no-op lock factory, that creates no-op locks.
-
Field Summary
Fields inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.aether.named.providers.NoopNamedLockFactory.NoopNamedLock
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, getLock, shutdown
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
NoopNamedLockFactory
public NoopNamedLockFactory()
-
-
Method Details
-
createLock
protected org.eclipse.aether.named.providers.NoopNamedLockFactory.NoopNamedLock createLock(String name) Description copied from class:NamedLockFactorySupport
Implementations shall create and returnNamedLockSupport
for givenname
, this method must never returnnull
.- Specified by:
createLock
in classNamedLockFactorySupport
-