org.eigenbase.test.concurrent
Class ConcurrentTestCommandGenerator.CommandWithTimeout

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eigenbase.test.concurrent.ConcurrentTestCommand
ConcurrentTestCommand.ShouldHaveFailedException
 
Field Summary
private  int timeout
           
 
Constructor Summary
private ConcurrentTestCommandGenerator.CommandWithTimeout(int 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 int timeout
Constructor Detail

ConcurrentTestCommandGenerator.CommandWithTimeout

private ConcurrentTestCommandGenerator.CommandWithTimeout(int timeout)
Method Detail

setTimeout

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