Class CouldNotLockPageException

All Implemented Interfaces:
Serializable

An exception that is being thrown when a second thread attempts to get the lock on a page instance that is currently locked by another thread and it cannot do that for some specified duration
See Also:
  • Constructor Details

    • CouldNotLockPageException

      public CouldNotLockPageException(int page, String threadName, Duration timeout)
      Construct.
      Parameters:
      page - the id of the page instance which is already locked
      threadName - the name of the thread that attempts to acquire the lock on the page
      timeout - the duration that the second thread waited for the lock
    • CouldNotLockPageException

      public CouldNotLockPageException(int page, String threadName, Duration timeout, Throwable cause)
      Construct.
      Parameters:
      page - the id of the page instance which is already locked
      threadName - the name of the thread that attempts to acquire the lock on the page
      timeout - the duration that the second thread waited for the lock
      cause - a placeholder for the stacktrace of the thread that holds the lock
  • Method Details