org.eigenbase.test.concurrent
Class ConcurrentTestCommandGenerator.SleepCommand
java.lang.Object
org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.SleepCommand
- All Implemented Interfaces:
- ConcurrentTestCommand
- Enclosing class:
- ConcurrentTestCommandGenerator
private static class ConcurrentTestCommandGenerator.SleepCommand
- extends ConcurrentTestCommandGenerator.AbstractCommand
SleepCommand causes the execution thread to wait for all other threads in
the test before continuing.
Field Summary |
private long |
millis
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
millis
private long millis
ConcurrentTestCommandGenerator.SleepCommand
private ConcurrentTestCommandGenerator.SleepCommand(long millis)
doExecute
protected void doExecute(ConcurrentTestCommandExecutor executor)
throws Exception
- Specified by:
doExecute
in class ConcurrentTestCommandGenerator.AbstractCommand
- Throws:
Exception