org.eigenbase.test.concurrent
Class ConcurrentTestCommandExecutor.Sync
java.lang.Object
org.eigenbase.test.concurrent.ConcurrentTestCommandExecutor.Sync
- Enclosing class:
- ConcurrentTestCommandExecutor
public static class ConcurrentTestCommandExecutor.Sync
- extends Object
Synchronization object that allows multiple
ConcurrentTestCommandExecutors to execute commands in lock-step.
Requires that all ConcurrentTestCommandExecutors have the same
number of commands.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numThreads
private int numThreads
numWaiting
private int numWaiting
ConcurrentTestCommandExecutor.Sync
public ConcurrentTestCommandExecutor.Sync(int numThreads)
waitForOthers
void waitForOthers()
throws InterruptedException
- Throws:
InterruptedException