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 java.lang.Object implements org.eclipse.aether.spi.locking.LockingInhibitorFactory, org.eclipse.aether.spi.locking.LockingInhibitorLocking 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 Modifier and Type Field Description static java.lang.StringNAME
-
Constructor Summary
Constructors Constructor Description PrefixesLockingInhibitorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<org.eclipse.aether.spi.locking.LockingInhibitor>newInstance(org.eclipse.aether.RepositorySystemSession session)booleanpreventMetadataLocking(org.eclipse.aether.metadata.Metadata metadata)
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PrefixesLockingInhibitorFactory
public PrefixesLockingInhibitorFactory()
-
-
Method Detail
-
newInstance
public java.util.Optional<org.eclipse.aether.spi.locking.LockingInhibitor> newInstance(org.eclipse.aether.RepositorySystemSession session)
- Specified by:
newInstancein interfaceorg.eclipse.aether.spi.locking.LockingInhibitorFactory
-
preventMetadataLocking
public boolean preventMetadataLocking(org.eclipse.aether.metadata.Metadata metadata)
- Specified by:
preventMetadataLockingin interfaceorg.eclipse.aether.spi.locking.LockingInhibitor
-
-