Package org.eclipse.rdf4j.console
Class LockRemover
java.lang.Object
org.eclipse.rdf4j.console.LockRemover
-
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 RepositoryException Try to remove lock from repository- Parameters:
repo
-consoleIO
-- Returns:
- true if lock was removed
- Throws:
RepositoryException
-
tryToRemoveLock
Try to remove lock when exception was raised- Parameters:
rle
-consoleIO
-- Returns:
- true if lock was removed
-