Package org.eclipse.rdf4j.sail
Class SailLockedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.rdf4j.common.exception.RDF4JException
-
- org.eclipse.rdf4j.sail.SailException
-
- org.eclipse.rdf4j.sail.SailLockedException
-
- All Implemented Interfaces:
java.io.Serializable
public class SailLockedException extends SailException
Indicates that a SAIL cannot be initialised because the configured persisted location is locked.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringlockedByprivate LockManagermanagerprivate java.lang.StringrequestedByprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description SailLockedException(java.lang.String requestedBy)SailLockedException(java.lang.String lockedBy, java.lang.String requestedBy)SailLockedException(java.lang.String lockedBy, java.lang.String requestedBy, LockManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLockedBy()Returns the name representing the Java virtual machine that acquired the lock.LockManagergetLockManager()java.lang.StringgetRequestedBy()Returns the name representing the Java virtual machine that requested the lock.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
lockedBy
private java.lang.String lockedBy
-
requestedBy
private final java.lang.String requestedBy
-
manager
private LockManager manager
-
-
Constructor Detail
-
SailLockedException
public SailLockedException(java.lang.String requestedBy)
-
SailLockedException
public SailLockedException(java.lang.String lockedBy, java.lang.String requestedBy)
-
SailLockedException
public SailLockedException(java.lang.String lockedBy, java.lang.String requestedBy, LockManager manager)
-
-
Method Detail
-
getLockedBy
public java.lang.String getLockedBy()
Returns the name representing the Java virtual machine that acquired the lock.- Returns:
- the name representing the Java virtual machine that acquired the lock.
-
getRequestedBy
public java.lang.String getRequestedBy()
Returns the name representing the Java virtual machine that requested the lock.- Returns:
- the name representing the Java virtual machine that requested the lock.
-
getLockManager
public LockManager getLockManager()
- Returns:
- Returns the lock manager that failed to obtain a lock.
-
-