org.databene.benerator.engine.statement
Class TimedGeneratorStatement

java.lang.Object
  extended by org.databene.benerator.engine.statement.StatementProxy
      extended by org.databene.benerator.engine.statement.TimedGeneratorStatement
All Implemented Interfaces:
java.io.Closeable, Statement

public class TimedGeneratorStatement
extends StatementProxy

{Task} implementation that acts as a proxy to another tasks, forwards calls to it, measures execution times and logs them.

Created at 23.07.2009 06:55:46

Since:
0.6.0
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.benerator.engine.statement.StatementProxy
realStatement
 
Constructor Summary
TimedGeneratorStatement(java.lang.String name, Statement realStatement, java.util.List<java.lang.String> profilerPath, boolean logging)
           
 
Method Summary
 boolean execute(BeneratorContext context)
           
 
Methods inherited from class org.databene.benerator.engine.statement.StatementProxy
close, getRealStatement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimedGeneratorStatement

public TimedGeneratorStatement(java.lang.String name,
                               Statement realStatement,
                               java.util.List<java.lang.String> profilerPath,
                               boolean logging)
Method Detail

execute

public boolean execute(BeneratorContext context)
Specified by:
execute in interface Statement
Overrides:
execute in class StatementProxy


Copyright © 2013. All Rights Reserved.