Package org.h2.util

Class AbbaDetector


  • public class AbbaDetector
    extends java.lang.Object
    Utility to detect AB-BA deadlocks.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbbaDetector()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Object begin​(java.lang.Object o)
      This method is called just before or just after an object is synchronized.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbbaDetector

        public AbbaDetector()
    • Method Detail

      • begin

        public static java.lang.Object begin​(java.lang.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