org.databene.contiperf
Class PerformanceTracker

java.lang.Object
  extended by org.databene.contiperf.util.InvokerProxy
      extended by org.databene.contiperf.PerformanceTracker
All Implemented Interfaces:
Invoker

public class PerformanceTracker
extends InvokerProxy

InvokerProxy that provides performance tracking features.

Created: 22.10.2009 16:36:43

Since:
1.0
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.contiperf.util.InvokerProxy
target
 
Constructor Summary
PerformanceTracker(Invoker target, ExecutionConfig executionConfig, PerformanceRequirement requirement, ReportContext context, Clock[] clocks)
           
PerformanceTracker(Invoker target, PerformanceRequirement requirement, ReportContext context)
           
 
Method Summary
 void clear()
           
 LatencyCounter[] getCounters()
           
 Object invoke(Object[] args)
           
 boolean isTrackingStarted()
           
 void setContext(ReportContext context)
           
 void startTracking()
           
 void stopTracking()
           
 
Methods inherited from class org.databene.contiperf.util.InvokerProxy
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceTracker

public PerformanceTracker(Invoker target,
                          PerformanceRequirement requirement,
                          ReportContext context)

PerformanceTracker

public PerformanceTracker(Invoker target,
                          ExecutionConfig executionConfig,
                          PerformanceRequirement requirement,
                          ReportContext context,
                          Clock[] clocks)
Method Detail

setContext

public void setContext(ReportContext context)

getCounters

public LatencyCounter[] getCounters()

startTracking

public void startTracking()

invoke

public Object invoke(Object[] args)
              throws Exception
Specified by:
invoke in interface Invoker
Overrides:
invoke in class InvokerProxy
Throws:
Exception

isTrackingStarted

public boolean isTrackingStarted()

stopTracking

public void stopTracking()

clear

public void clear()


Copyright © 2013. All Rights Reserved.