Class CouldNotLockPageException

    • Constructor Detail

      • 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
    • Method Detail

      • getPage

        public int getPage()
        Returns:
        page
      • getTimeout

        public Duration getTimeout()
        Returns:
        timeout
      • getThreadName

        public String getThreadName()
        Returns:
        threadName