Class PageAccessSynchronizer.PageLock

  • Enclosing class:
    PageAccessSynchronizer

    public static class PageAccessSynchronizer.PageLock
    extends java.lang.Object
    Thread's lock on a page
    Author:
    igor
    • Constructor Summary

      Constructors 
      Constructor Description
      PageLock​(int pageId, java.lang.Thread thread)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getPageId()  
      java.lang.Thread getThread()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PageLock

        public PageLock​(int pageId,
                        java.lang.Thread thread)
        Constructor
        Parameters:
        pageId -
        thread -
    • Method Detail

      • getPageId

        public int getPageId()
        Returns:
        page id of locked page
      • getThread

        public java.lang.Thread getThread()
        Returns:
        thread that owns the lock