Class SailLockedException

  • All Implemented Interfaces:
    Serializable

    public class SailLockedException
    extends SailException
    Indicates that a SAIL cannot be initialised because the configured persisted location is locked.
    Author:
    James Leigh
    See Also:
    Serialized Form
    • Constructor Detail

      • SailLockedException

        public SailLockedException​(String requestedBy)
      • SailLockedException

        public SailLockedException​(String lockedBy,
                                   String requestedBy)
    • Method Detail

      • getLockedBy

        public 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 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.