Package org.h2.util

Class AbbaLockingDetector

java.lang.Object
org.h2.util.AbbaLockingDetector
All Implemented Interfaces:
Runnable

public class AbbaLockingDetector extends Object implements Runnable
Utility to detect AB-BA deadlocks.
  • Constructor Details

    • AbbaLockingDetector

      public AbbaLockingDetector()
  • Method Details

    • startCollecting

      public AbbaLockingDetector startCollecting()
      Start collecting locking data.
      Returns:
      this
    • reset

      public void reset()
      Reset the state.
    • stopCollecting

      public AbbaLockingDetector stopCollecting()
      Stop collecting.
      Returns:
      this
    • run

      public void run()
      Specified by:
      run in interface Runnable