src/main/java/org/jboss/util/deadlock/DeadlockDetector.java
public void addWaiting(Object holder, Resource resource)
   {
      synchronized (waiting)
      {
         waiting.put(holder, resource);
      }
   }
public void addWaiting(Object holder, Resource resource)
   {
      synchronized (waiting)
      {
         waiting.put(holder, resource);
      }
   }
public void addWaiting ( Object holder , Resource resource ) { synchronized ( waiting ) { waiting . put ( holder , resource ) ; } }
Add a transaction waiting for a lock
@param holder
@param resource
Add a transaction waiting for a lock