Package org.eclipse.rdf4j.console

## Class LockRemover

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

-     public class LockRemover
      extends Object

  Author:
    DAle Visser

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `LockRemover()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static boolean` | `tryToRemoveLock​(RepositoryLockedException rle, ConsoleIO consoleIO)` | Try to remove lock when exception was raised
    `static boolean` | `tryToRemoveLock​(Repository repo, ConsoleIO consoleIO)` | Try to remove lock from repository

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LockRemover

          public LockRemover()

  - ### Method Detail

    - #### tryToRemoveLock

          public static boolean tryToRemoveLock​(Repository repo,
                                                ConsoleIO consoleIO)
                                         throws IOException,
                                                RepositoryException

      Try to remove lock from repository
      Parameters:
        `repo` -
        `consoleIO` -
      Returns:
        true if lock was removed
      Throws:
        `IOException`
        `RepositoryException`

    - #### tryToRemoveLock

          public static boolean tryToRemoveLock​(RepositoryLockedException rle,
                                                ConsoleIO consoleIO)
                                         throws IOException

      Try to remove lock when exception was raised
      Parameters:
        `rle` -
        `consoleIO` -
      Returns:
        true if lock was removed
      Throws:
        `IOException`