Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Field Summary
`static DeadlockDetector` | `singleton`
`protected HashMap` | `waiting`

Constructor Summary
`DeadlockDetector()`

Method Summary
`void` | `addWaiting(Object holder, Resource resource)` Add a transaction waiting for a lock
`void` | `deadlockDetection(Object holder, Resource resource)`
`void` | `removeWaiting(Object holder)` Remove a transaction waiting for a lock

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### singleton

    public static DeadlockDetector singleton

### waiting

    protected HashMap waiting

Constructor Detail

### DeadlockDetector

    public DeadlockDetector()

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.