Class LockRemover

java.lang.Object
org.eclipse.rdf4j.console.LockRemover

public class LockRemover extends Object
Author:
DAle Visser
  • Constructor Details

    • LockRemover

      public LockRemover()
  • Method Details

    • tryToRemoveLock

      public static boolean tryToRemoveLock(Repository repo, ConsoleIO consoleIO) throws RepositoryException
      Try to remove lock from repository
      Parameters:
      repo -
      consoleIO -
      Returns:
      true if lock was removed
      Throws:
      RepositoryException
    • tryToRemoveLock

      public static boolean tryToRemoveLock(RepositoryLockedException rle, ConsoleIO consoleIO)
      Try to remove lock when exception was raised
      Parameters:
      rle -
      consoleIO -
      Returns:
      true if lock was removed