Class FileBasedLockStrategy

    • Constructor Detail

      • FileBasedLockStrategy

        protected FileBasedLockStrategy()
      • FileBasedLockStrategy

        protected FileBasedLockStrategy​(boolean debugLocking)
    • Method Detail

      • acquireLock

        protected boolean acquireLock​(java.io.File file)
                               throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • releaseLock

        protected void releaseLock​(java.io.File file)
      • getCurrentLockHolderNames

        protected java.lang.String getCurrentLockHolderNames​(java.io.File file)
        Return a string naming the threads which currently hold this lock.
        Parameters:
        file - File
        Returns:
        String