org.eigenbase.test.concurrent
Class ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit

java.lang.Object
  extended by org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
      extended by org.eigenbase.test.concurrent.ConcurrentTestCommandScript.CommandWithTimeout
          extended by org.eigenbase.test.concurrent.ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit
All Implemented Interfaces:
ConcurrentTestCommand
Direct Known Subclasses:
ConcurrentTestCommandScript.SelectCommand
Enclosing class:
ConcurrentTestCommandScript

private abstract static class ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit
extends ConcurrentTestCommandScript.CommandWithTimeout


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eigenbase.test.concurrent.ConcurrentTestCommand
ConcurrentTestCommand.ShouldHaveFailedException
 
Field Summary
private  int rowLimit
           
 
Constructor Summary
private ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit(long timeout)
           
private ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit(long timeout, int rowLimit)
           
 
Method Summary
protected  void setRowLimit(Statement stmt)
           
 
Methods inherited from class org.eigenbase.test.concurrent.ConcurrentTestCommandScript.CommandWithTimeout
setTimeout
 
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

rowLimit

private int rowLimit
Constructor Detail

ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit

private ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit(long timeout)

ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit

private ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit(long timeout,
                                                                  int rowLimit)
Method Detail

setRowLimit

protected void setRowLimit(Statement stmt)
                    throws SQLException
Throws:
SQLException