|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.threading.mbean.Threads
This test is there to make sure that the multithreaded version doesn't lock the container It works in VM and spawns many threads that will ping the server.
| Nested Class Summary | |
class |
Threads.Test (src)
|
| Field Summary | |
boolean |
runMe
|
| Constructor Summary | |
Threads()
|
|
| Method Summary | |
int |
getLoops()
|
int |
getNumberOfThreads()
|
long |
getWait()
|
void |
setLoops(int loops)
|
void |
setNumberOfThreads(int numberOfThreads)
|
void |
setWait(long wait)
|
void |
startMe()
|
void |
stopMe()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public boolean runMe
| Constructor Detail |
public Threads()
| Method Detail |
public void setWait(long wait)
setWait in interface ThreadsMBean (src) public long getWait()
getWait in interface ThreadsMBean (src) public void setLoops(int loops)
public int getLoops()
public void setNumberOfThreads(int numberOfThreads)
setNumberOfThreads in interface ThreadsMBean (src) public int getNumberOfThreads()
getNumberOfThreads in interface ThreadsMBean (src)
public void startMe()
throws java.lang.Exception
startMe in interface ThreadsMBean (src) java.lang.Exceptionpublic void stopMe()
stopMe in interface ThreadsMBean (src)
|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||