Class ConcurrentTestCommandScript.CommandWithTimeout
- java.lang.Object
-
- org.apache.calcite.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
-
- org.apache.calcite.test.concurrent.ConcurrentTestCommandScript.CommandWithTimeout
-
- All Implemented Interfaces:
ConcurrentTestCommand
- Direct Known Subclasses:
ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit
,ConcurrentTestCommandScript.FetchAndPrintCommand
,ConcurrentTestCommandScript.SqlCommand
- Enclosing class:
- ConcurrentTestCommandScript
private abstract static class ConcurrentTestCommandScript.CommandWithTimeout extends ConcurrentTestCommandGenerator.AbstractCommand
Command that has a 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 long
timeout
-
Constructor Summary
Constructors Modifier Constructor Description private
CommandWithTimeout(long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
setTimeout(java.sql.Statement stmt)
-
Methods inherited from class org.apache.calcite.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
doExecute, execute, isFailureExpected, markToFail, markToFail
-
-