Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLockedBy()
      Returns the name representing the Java virtual machine that acquired the lock.
      LockManager getLockManager()  
      java.lang.String getRequestedBy()
      Returns the name representing the Java virtual machine that requested the lock.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • lockedBy

        private java.lang.String lockedBy
      • requestedBy

        private final java.lang.String requestedBy
    • 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.