com.oy.shared.lw.perf.monitor
Class TaskExecutionMonitor

java.lang.Object
  extended bycom.oy.shared.lw.perf.agent.BaseMonitor
      extended bycom.oy.shared.lw.perf.monitor.TaskExecutionMonitor
All Implemented Interfaces:
IPerfMonitor

public class TaskExecutionMonitor
extends BaseMonitor


Nested Class Summary
 
Nested classes inherited from class com.oy.shared.lw.perf.IPerfMonitor
IPerfMonitor.MockPerfCounterImpl
 
Field Summary
private  long[] m_Clone
           
private  QOSCalculator m_Qos
           
private  long[] m_Values
           
 
Fields inherited from class com.oy.shared.lw.perf.agent.BaseMonitor
 
Constructor Summary
TaskExecutionMonitor(java.lang.Class module, java.lang.String name, java.lang.String desc)
           
TaskExecutionMonitor(java.lang.Class module, java.lang.String name, java.lang.String desc, long unitsOfWorkPerBusket, long ageOfBucket)
           
 
Method Summary
 long[] getValues()
           
 void incCompleted()
           
 void incFailed()
           
 void incStarted()
           
 
Methods inherited from class com.oy.shared.lw.perf.agent.BaseMonitor
getColumnNames, getDesc, getModule, getName, getValues, hasValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Values

private long[] m_Values

m_Clone

private long[] m_Clone

m_Qos

private QOSCalculator m_Qos
Constructor Detail

TaskExecutionMonitor

public TaskExecutionMonitor(java.lang.Class module,
                            java.lang.String name,
                            java.lang.String desc)

TaskExecutionMonitor

public TaskExecutionMonitor(java.lang.Class module,
                            java.lang.String name,
                            java.lang.String desc,
                            long unitsOfWorkPerBusket,
                            long ageOfBucket)
Method Detail

incStarted

public void incStarted()

incCompleted

public void incCompleted()

incFailed

public void incFailed()

getValues

public long[] getValues()
Specified by:
getValues in interface IPerfMonitor
Specified by:
getValues in class BaseMonitor


Copyright (C) 2005-2006 Pavel Simakov
http://www.softwaresecretweapons.com