Class PageLockTrackerManager

    • Field Detail

      • NOOP_LSNR

        public static final PageLockListener NOOP_LSNR
        No-op page lock listener.
    • Constructor Detail

      • PageLockTrackerManager

        public PageLockTrackerManager​(IgniteLogger log)
        Default constructor.
      • PageLockTrackerManager

        public PageLockTrackerManager​(IgniteLogger log,
                                      String managerNameId)
        Parameters:
        log - Ignite logger.
        managerNameId - Manager name.
    • Method Detail

      • createPageLockTracker

        public PageLockListener createPageLockTracker​(String name)
        Parameters:
        name - Lock tracker name.
        Returns:
        Instance of PageLockListener for tracking lock/unlock operations.
      • dumpLocksToString

        public String dumpLocksToString()
        Take page locks dump.
        Returns:
        String representation of page locks dump.
      • dumpLocksToLog

        public void dumpLocksToLog()
        Take page locks dump and print it to console.
      • dumpLocksToFile

        public String dumpLocksToFile()
        Take page locks dump and save to file.
        Returns:
        Absolute file path.
      • dumpLocksToFile

        public String dumpLocksToFile​(String path)
        Take page locks dump and save to file for specific path.
        Parameters:
        path - Path to save file.
        Returns:
        Absolute file path.
      • getHeapOverhead

        public long getHeapOverhead()
        Returns:
        Total heap overhead in bytes.
      • getOffHeapOverhead

        public long getOffHeapOverhead()
        Returns:
        Total offheap overhead in bytes.
      • getTotalOverhead

        public long getTotalOverhead()
        Returns:
        Total overhead in bytes.