Package org.h2.util

Class AbbaDetector

java.lang.Object
org.h2.util.AbbaDetector

public class AbbaDetector extends Object
Utility to detect AB-BA deadlocks.
  • Constructor Details

    • AbbaDetector

      public AbbaDetector()
  • Method Details

    • begin

      public static Object begin(Object o)
      This method is called just before or just after an object is synchronized.
      Parameters:
      o - the object, or null for the current class
      Returns:
      the object that was passed