test_class.file: modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/diagnostic/pagelocktracker/PageLockTrackerManagerTest.java
test_class.identifier: PageLockTrackerManagerTest
test_case.body: @Test
      public void testDisableTracking() {
          System.setProperty("IGNITE_PAGE_LOCK_TRACKER_TYPE", String.valueOf(-1));
  
          try {
              PageLockTrackerManager mgr = new PageLockTrackerManager(new ListeningTestLogger());
  
              PageLockListener pll = mgr.createPageLockTracker("test");
  
              Assert.assertNotNull(pll);
              Assert.assertSame(pll, DataStructure.NOOP_LSNR);
  
          } finally {
              System.clearProperty("IGNITE_PAGE_LOCK_TRACKER_TYPE");
          }
  
          System.setProperty("IGNITE_PAGE_LOCK_TRACKER_TYPE", String.valueOf(HEAP_LOG));
  
          try {
              PageLockTrackerManager mgr = new PageLockTrackerManager(new ListeningTestLogger());
  
              PageLockListener pll = mgr.createPageLockTracker("test");
  
              Assert.assertNotNull(pll);
              Assert.assertNotSame(pll, DataStructure.NOOP_LSNR);
  
          } finally {
              System.clearProperty("IGNITE_PAGE_LOCK_TRACKER_TYPE");
          }
      }
test_case.class_method_signature: PageLockTrackerManagerTest.testDisableTracking()
test_case.full_signature: @Test public void testDisableTracking()
test_case.identifier: testDisableTracking
test_case.invocations: setProperty valueOf createPageLockTracker assertNotNull assertSame clearProperty setProperty valueOf createPageLockTracker assertNotNull assertNotSame clearProperty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDisableTracking()
focal_class.declarator: OVERHEAD_SIZE = 16 + 8 + 8 + 8 + 8
focal_class.modifier: private static final
focal_class.original_string: private static final long OVERHEAD_SIZE = 16 + 8 + 8 + 8 + 8;
focal_class.type: long
focal_class.var_name: OVERHEAD_SIZE
focal_class.declarator: memoryCalculator = new MemoryCalculator()
focal_class.modifier: private final
focal_class.original_string: private final MemoryCalculator memoryCalculator = new MemoryCalculator();
focal_class.type: MemoryCalculator
focal_class.var_name: memoryCalculator
focal_class.declarator: mxBean
focal_class.modifier: private final
focal_class.original_string: private final PageLockTrackerMXBean mxBean;
focal_class.type: PageLockTrackerMXBean
focal_class.var_name: mxBean
focal_class.declarator: sharedPageLockTracker
focal_class.modifier: private final
focal_class.original_string: private final SharedPageLockTracker sharedPageLockTracker;
focal_class.type: SharedPageLockTracker
focal_class.var_name: sharedPageLockTracker
focal_class.declarator: log
focal_class.modifier: private final
focal_class.original_string: private final IgniteLogger log;
focal_class.type: IgniteLogger
focal_class.var_name: log
focal_class.declarator: threads
focal_class.modifier: private
focal_class.original_string: private Set<PageLockThreadState> threads;
focal_class.type: Set<PageLockThreadState>
focal_class.var_name: threads
focal_class.declarator: managerNameId
focal_class.modifier: private final
focal_class.original_string: private final String managerNameId;
focal_class.type: String
focal_class.var_name: managerNameId
focal_class.declarator: trackingEnable
focal_class.modifier: private final
focal_class.original_string: private final boolean trackingEnable;
focal_class.type: boolean
focal_class.var_name: trackingEnable
focal_class.file: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/diagnostic/pagelocktracker/PageLockTrackerManager.java
focal_class.identifier: PageLockTrackerManager
focal_class.interfaces: implements LifecycleAware
focal_class.class_method_signature: PageLockTrackerManager.PageLockTrackerManager(IgniteLogger log)
focal_class.full_signature: public  PageLockTrackerManager(IgniteLogger log)
focal_class.identifier: PageLockTrackerManager
focal_class.modifiers: public
focal_class.parameters: (IgniteLogger log)
focal_class.signature:  PageLockTrackerManager(IgniteLogger log)
focal_class.class_method_signature: PageLockTrackerManager.PageLockTrackerManager(IgniteLogger log, String managerNameId)
focal_class.full_signature: public  PageLockTrackerManager(IgniteLogger log, String managerNameId)
focal_class.identifier: PageLockTrackerManager
focal_class.modifiers: public
focal_class.parameters: (IgniteLogger log, String managerNameId)
focal_class.signature:  PageLockTrackerManager(IgniteLogger log, String managerNameId)
focal_class.class_method_signature: PageLockTrackerManager.onHangThreads(@NotNull Set<PageLockThreadState> threads)
focal_class.full_signature: private void onHangThreads(@NotNull Set<PageLockThreadState> threads)
focal_class.identifier: onHangThreads
focal_class.modifiers: private
focal_class.parameters: (@NotNull Set<PageLockThreadState> threads)
focal_class.return: void
focal_class.signature: void onHangThreads(@NotNull Set<PageLockThreadState> threads)
focal_class.class_method_signature: PageLockTrackerManager.createPageLockTracker(String name)
focal_class.full_signature: public PageLockListener createPageLockTracker(String name)
focal_class.identifier: createPageLockTracker
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: PageLockListener
focal_class.signature: PageLockListener createPageLockTracker(String name)
focal_class.class_method_signature: PageLockTrackerManager.dumpLocks()
focal_class.full_signature: public String dumpLocks()
focal_class.identifier: dumpLocks
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String dumpLocks()
focal_class.class_method_signature: PageLockTrackerManager.dumpLocksToLog()
focal_class.full_signature: public void dumpLocksToLog()
focal_class.identifier: dumpLocksToLog
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void dumpLocksToLog()
focal_class.class_method_signature: PageLockTrackerManager.dumpLocksToFile()
focal_class.full_signature: public String dumpLocksToFile()
focal_class.identifier: dumpLocksToFile
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String dumpLocksToFile()
focal_class.class_method_signature: PageLockTrackerManager.dumpLocksToFile(String path)
focal_class.full_signature: public String dumpLocksToFile(String path)
focal_class.identifier: dumpLocksToFile
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: String
focal_class.signature: String dumpLocksToFile(String path)
focal_class.class_method_signature: PageLockTrackerManager.mxBean()
focal_class.full_signature: public PageLockTrackerMXBean mxBean()
focal_class.identifier: mxBean
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: PageLockTrackerMXBean
focal_class.signature: PageLockTrackerMXBean mxBean()
focal_class.class_method_signature: PageLockTrackerManager.getHeapOverhead()
focal_class.full_signature: public long getHeapOverhead()
focal_class.identifier: getHeapOverhead
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getHeapOverhead()
focal_class.class_method_signature: PageLockTrackerManager.getOffHeapOverhead()
focal_class.full_signature: public long getOffHeapOverhead()
focal_class.identifier: getOffHeapOverhead
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getOffHeapOverhead()
focal_class.class_method_signature: PageLockTrackerManager.getTotalOverhead()
focal_class.full_signature: public long getTotalOverhead()
focal_class.identifier: getTotalOverhead
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getTotalOverhead()
focal_class.class_method_signature: PageLockTrackerManager.start()
focal_class.full_signature: @Override public void start()
focal_class.identifier: start
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void start()
focal_class.class_method_signature: PageLockTrackerManager.stop()
focal_class.full_signature: @Override public void stop()
focal_class.identifier: stop
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void stop()
focal_method.body: public PageLockListener createPageLockTracker(String name) {
          if (!trackingEnable)
              return DataStructure.NOOP_LSNR;
  
          return sharedPageLockTracker.registrateStructure(name);
      }
focal_method.class_method_signature: PageLockTrackerManager.createPageLockTracker(String name)
focal_method.full_signature: public PageLockListener createPageLockTracker(String name)
focal_method.identifier: createPageLockTracker
focal_method.invocations: registrateStructure
focal_method.modifiers: public
focal_method.parameters: (String name)
focal_method.return: PageLockListener
focal_method.signature: PageLockListener createPageLockTracker(String name)