Class PrefixesLockingInhibitorFactory
java.lang.Object
org.eclipse.aether.internal.impl.filter.PrefixesLockingInhibitorFactory
- All Implemented Interfaces:
LockingInhibitor,LockingInhibitorFactory
@Singleton
@Named("prefixes")
public class PrefixesLockingInhibitorFactory
extends Object
implements LockingInhibitorFactory, 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 TypeMethodDescriptionnewInstance(RepositorySystemSession session) May return aLockingInhibitoror just emptyOptional, if for example disabled.booleanpreventMetadataLocking(Metadata metadata) Should returntruefor metadata that needs lock inhibition.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
Description copied from interface:LockingInhibitorFactoryMay return aLockingInhibitoror just emptyOptional, if for example disabled.- Specified by:
newInstancein interfaceLockingInhibitorFactory
-
preventMetadataLocking
Description copied from interface:LockingInhibitorShould returntruefor metadata that needs lock inhibition.- Specified by:
preventMetadataLockingin interfaceLockingInhibitor
-