Interface LockingInhibitor

All Known Implementing Classes:
PrefixesLockingInhibitorFactory

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
    Should return true for artifacts that needs lock inhibition.
    default boolean
    Should return true for metadata that needs lock inhibition.
  • Method Details

    • preventArtifactLocking

      default boolean preventArtifactLocking(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(Metadata metadata)
      Should return true for metadata that needs lock inhibition.