|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.knipp.rritoolkit.test.Test.ParallelCommand
private static class Test.ParallelCommand
class that executes the given commands in parallel
Field Summary | |
---|---|
private Test.Command[] |
commands
the commands to execute |
private int |
threadCount
the number of threads to use |
Constructor Summary | |
---|---|
Test.ParallelCommand(Test.Command[] theCommands,
int theThreadCount)
constructor |
Method Summary | |
---|---|
void |
execute(Port port)
execute the command |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Test.Command[] commands
private int threadCount
Constructor Detail |
---|
public Test.ParallelCommand(Test.Command[] theCommands, int theThreadCount)
theCommands
- the commands to executetheThreadCount
- the maximum number of threads to useMethod Detail |
---|
public void execute(Port port) throws java.lang.Exception
execute
in interface Test.Command
port
- the port
java.lang.Exception
- if the execution failed for some reason
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |