Class PrefixesLockingInhibitorFactory
java.lang.Object
org.eclipse.aether.internal.impl.filter.PrefixesLockingInhibitorFactory
- All Implemented Interfaces:
org.eclipse.aether.spi.locking.LockingInhibitor,org.eclipse.aether.spi.locking.LockingInhibitorFactory
@Singleton
@Named("prefixes")
public class PrefixesLockingInhibitorFactory
extends Object
implements org.eclipse.aether.spi.locking.LockingInhibitorFactory, org.eclipse.aether.spi.locking.LockingInhibitor
Locking inhibitor for RRF prefix files. They are perfect candidates, as they are created on remote, and locally are
only cached and read, and they do not clash on local file system (local repo) either, as they are stored in a file
that has origin repository factored in (as any metadata is).
- Since:
- 2.0.14
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.eclipse.aether.spi.locking.LockingInhibitor> newInstance(org.eclipse.aether.RepositorySystemSession session) booleanpreventMetadataLocking(org.eclipse.aether.metadata.Metadata metadata) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.aether.spi.locking.LockingInhibitor
preventArtifactLocking
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
PrefixesLockingInhibitorFactory
public PrefixesLockingInhibitorFactory()
-
-
Method Details
-
newInstance
public Optional<org.eclipse.aether.spi.locking.LockingInhibitor> newInstance(org.eclipse.aether.RepositorySystemSession session) - Specified by:
newInstancein interfaceorg.eclipse.aether.spi.locking.LockingInhibitorFactory
-
preventMetadataLocking
- Specified by:
preventMetadataLockingin interfaceorg.eclipse.aether.spi.locking.LockingInhibitor
-