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 Details

  • Constructor Details

  • Method Details

    • newInstance

      public Optional<org.eclipse.aether.spi.locking.LockingInhibitor> newInstance(org.eclipse.aether.RepositorySystemSession session)
      Specified by:
      newInstance in interface org.eclipse.aether.spi.locking.LockingInhibitorFactory
    • preventMetadataLocking

      public boolean preventMetadataLocking(org.eclipse.aether.metadata.Metadata metadata)
      Specified by:
      preventMetadataLocking in interface org.eclipse.aether.spi.locking.LockingInhibitor