org.eigenbase.test.concurrent
Class ConcurrentTestCommandScript.CommandWithTimeout

java.lang.Object
  extended by org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
      extended by org.eigenbase.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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eigenbase.test.concurrent.ConcurrentTestCommand
ConcurrentTestCommand.ShouldHaveFailedException
 
Field Summary
private  long timeout
           
 
Constructor Summary
private ConcurrentTestCommandScript.CommandWithTimeout(long timeout)
           
 
Method Summary
protected  boolean setTimeout(Statement stmt)
           
 
Methods inherited from class org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
doExecute, execute, isFailureExpected, markToFail, markToFail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeout

private long timeout
Constructor Detail

ConcurrentTestCommandScript.CommandWithTimeout

private ConcurrentTestCommandScript.CommandWithTimeout(long timeout)
Method Detail

setTimeout

protected boolean setTimeout(Statement stmt)
                      throws SQLException
Throws:
SQLException