Package org.eclipse.rdf4j.console
Class LockRemover
java.lang.Object
org.eclipse.rdf4j.console.LockRemover
- Author:
- DAle Visser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
tryToRemoveLock
(RepositoryLockedException rle, ConsoleIO consoleIO) Try to remove lock when exception was raisedstatic boolean
tryToRemoveLock
(Repository repo, ConsoleIO consoleIO) Try to remove lock from repository
-
Constructor Details
-
LockRemover
public LockRemover()
-
-
Method Details
-
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
-