Class LockFromLink

All Implemented Interfaces:
Lock

public class LockFromLink extends LockBaseRepeat
  • Field Details

    • linkStrategy

      protected org.aksw.commons.io.util.symlink.SymbolicLinkStrategy linkStrategy
    • path

      protected Path path
    • ownerKey

      protected String ownerKey
    • ownerKeyToTarget

      protected Function<String,Path> ownerKeyToTarget
    • targetToOwnerKey

      protected Function<Path,String> targetToOwnerKey
    • cleanupAncestorPath

      protected Path cleanupAncestorPath
  • Constructor Details

  • Method Details

    • getPath

      public Path getPath()
    • singleLockAttempt

      public boolean singleLockAttempt()
      Specified by:
      singleLockAttempt in class LockBaseRepeat
    • unlock

      public void unlock()
    • forceUnlock

      public boolean forceUnlock()
    • readOwnerKey

      public String readOwnerKey()
    • isOwnedHere

      public boolean isOwnedHere()
    • toString

      public String toString()
      Overrides:
      toString in class Object