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:
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)
           
 
Method Summary
 void execute(BeneratorContext context)
           
 
Methods inherited from class org.databene.benerator.engine.statement.StatementProxy
getRealStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedGeneratorStatement

public TimedGeneratorStatement(java.lang.String name,
                               Statement realStatement)
Method Detail

execute

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


Copyright © 2010. All Rights Reserved.