当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
DeadlockDetector (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
org.jboss.util.deadlock
Class DeadlockDetector
java.lang.Object
org.jboss.util.deadlock.DeadlockDetector
- public class DeadlockDetector
- extends Object
Created by IntelliJ IDEA.
User: wburke
Date: Aug 21, 2003
Time: 2:10:46 PM
To change this template use Options | File Templates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singleton
public static DeadlockDetector singleton
waiting
protected HashMap waiting
DeadlockDetector
public DeadlockDetector()
deadlockDetection
public void deadlockDetection(Object holder,
Resource resource)
throws ApplicationDeadlockException
- Throws:
ApplicationDeadlockException
addWaiting
public void addWaiting(Object holder,
Resource resource)
- Add a transaction waiting for a lock
removeWaiting
public void removeWaiting(Object holder)
- Remove a transaction waiting for a lock
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.