Class ConcurrentTestCommandGenerator.CommandWithTimeout
- java.lang.Object
-
- org.apache.calcite.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
-
- org.apache.calcite.test.concurrent.ConcurrentTestCommandGenerator.CommandWithTimeout
-
- All Implemented Interfaces:
ConcurrentTestCommand
- Direct Known Subclasses:
ConcurrentTestCommandGenerator.FetchAndCompareCommand
,ConcurrentTestCommandGenerator.InsertCommand
- Enclosing class:
- ConcurrentTestCommandGenerator
private abstract static class ConcurrentTestCommandGenerator.CommandWithTimeout extends ConcurrentTestCommandGenerator.AbstractCommand
Command that executes statements with a given timeout.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.calcite.test.concurrent.ConcurrentTestCommand
ConcurrentTestCommand.ShouldHaveFailedException
-
-
Field Summary
Fields Modifier and Type Field Description private int
timeout
-
Constructor Summary
Constructors Modifier Constructor Description private
CommandWithTimeout(int timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
setTimeout(java.sql.Statement stmt)
-
Methods inherited from class org.apache.calcite.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
doExecute, execute, isFailureExpected, markToFail, markToFail
-
-