Interface PageLockListener

    • Method Detail

      • onBeforeWriteLock

        void onBeforeWriteLock​(int cacheId,
                               long pageId,
                               long page)
        Parameters:
        cacheId - Cache ID.
        pageId - Page ID.
        page - Page pointer.
      • onWriteLock

        void onWriteLock​(int cacheId,
                         long pageId,
                         long page,
                         long pageAddr)
        Parameters:
        cacheId - Cache ID.
        pageId - Page ID.
        page - Page pointer.
        pageAddr - Page address.
      • onWriteUnlock

        void onWriteUnlock​(int cacheId,
                           long pageId,
                           long page,
                           long pageAddr)
        Parameters:
        cacheId - Cache ID.
        pageId - Page ID.
        page - Page pointer.
        pageAddr - Page address.
      • onBeforeReadLock

        void onBeforeReadLock​(int cacheId,
                              long pageId,
                              long page)
        Parameters:
        cacheId - Cache ID.
        pageId - Page ID.
        page - Page pointer.
      • onReadLock

        void onReadLock​(int cacheId,
                        long pageId,
                        long page,
                        long pageAddr)
        Parameters:
        cacheId - Cache ID.
        pageId - Page ID.
        page - Page pointer.
        pageAddr - Page address.
      • onReadUnlock

        void onReadUnlock​(int cacheId,
                          long pageId,
                          long page,
                          long pageAddr)
        Parameters:
        cacheId - Cache ID.
        pageId - Page ID.
        page - Page pointer.
        pageAddr - Page address.