Class ConcurrentTestCommandGenerator.SynchronizationCommand
- java.lang.Object
-
- org.apache.calcite.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
-
- org.apache.calcite.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.apache.calcite.test.concurrent.ConcurrentTestCommand
ConcurrentTestCommand.ShouldHaveFailedException
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SynchronizationCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute(ConcurrentTestCommandExecutor executor)
-
Methods inherited from class org.apache.calcite.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
execute, isFailureExpected, markToFail, markToFail
-
-
-
-
Method Detail
-
doExecute
protected void doExecute(ConcurrentTestCommandExecutor executor) throws java.lang.Exception
- Specified by:
doExecute
in classConcurrentTestCommandGenerator.AbstractCommand
- Throws:
java.lang.Exception
-
-