|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.baka.webvm.analyzer.Deadlock
public final class Deadlock
Simulates a deadlock.
| Field Summary | |
|---|---|
Throwable |
t
If one of the threads fail then the cause is stored here. |
| Constructor Summary | |
|---|---|
Deadlock()
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels the deadlock, disposing of the threads. |
void |
checkThreads()
Checks that the threads are running and no exception was thrown. |
void |
simulate()
Simulates a deadlock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public volatile Throwable t
| Constructor Detail |
|---|
public Deadlock()
| Method Detail |
|---|
public void simulate()
public void cancel()
public void checkThreads()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||