|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.databene.benerator.engine.statement.WaitStatement
public class WaitStatement
Causes the thread to sleep for a certain number of milliseconds.
Created: 21.02.2010 07:46:50
Constructor Summary | |
---|---|
WaitStatement(NonNullGenerator<java.lang.Long> durationGenerator)
|
Method Summary | |
---|---|
boolean |
execute(BeneratorContext context)
|
int |
generateDuration(BeneratorContext context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WaitStatement(NonNullGenerator<java.lang.Long> durationGenerator)
Method Detail |
---|
public boolean execute(BeneratorContext context)
execute
in interface Statement
public int generateDuration(BeneratorContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |