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 and Description
    `LockRemover()`

  - ### Method Summary

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

    - ### 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`

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.