Interface LockingInhibitor


public interface LockingInhibitor
Locking inhibitor may prevent Resolver locking to happen on certain resources.
Since:
2.0.14
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    preventArtifactLocking(org.eclipse.aether.artifact.Artifact artifact)
    Should return true for artifacts that needs lock inhibition.
    default boolean
    preventMetadataLocking(org.eclipse.aether.metadata.Metadata metadata)
    Should return true for metadata that needs lock inhibition.
  • Method Details

    • preventArtifactLocking

      default boolean preventArtifactLocking(org.eclipse.aether.artifact.Artifact artifact)
      Should return true for artifacts that needs lock inhibition.

      Warning: you do not want to override this method, or if you do, think twice.

    • preventMetadataLocking

      default boolean preventMetadataLocking(org.eclipse.aether.metadata.Metadata metadata)
      Should return true for metadata that needs lock inhibition.