org.eigenbase.test.concurrent
Class ConcurrentTestCommandGenerator.SynchronizationCommand

java.lang.Object
  extended by org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
      extended by org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.SynchronizationCommand
All Implemented Interfaces:
ConcurrentTestCommand
Direct Known Subclasses:
ConcurrentTestCommandGenerator.AutoSynchronizationCommand
Enclosing class:
ConcurrentTestCommandGenerator

static class ConcurrentTestCommandGenerator.SynchronizationCommand
extends ConcurrentTestCommandGenerator.AbstractCommand

SynchronizationCommand causes the execution thread to wait for all other threads in the test before continuing.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eigenbase.test.concurrent.ConcurrentTestCommand
ConcurrentTestCommand.ShouldHaveFailedException
 
Constructor Summary
private ConcurrentTestCommandGenerator.SynchronizationCommand()
           
 
Method Summary
protected  void doExecute(ConcurrentTestCommandExecutor executor)
           
 
Methods inherited from class org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
execute, isFailureExpected, markToFail, markToFail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentTestCommandGenerator.SynchronizationCommand

private ConcurrentTestCommandGenerator.SynchronizationCommand()
Method Detail

doExecute

protected void doExecute(ConcurrentTestCommandExecutor executor)
                  throws Exception
Specified by:
doExecute in class ConcurrentTestCommandGenerator.AbstractCommand
Throws:
Exception