net.sf.infrared.agent.integration
Class ComponentStatistics

java.lang.Object
  extended bynet.sf.infrared.agent.integration.ComponentStatistics

public class ComponentStatistics
extends Object

An objects which holds the statistics collected by a component monitor.


Constructor Summary
ComponentStatistics(long startTime, long endTime, ContextApiTime[] stats)
          Creates a new ComponentStatistics with ContextApiTime objects collected between a given startTime and endTime
 
Method Summary
 long getEndTime()
          Gets the time from which the statistics contained in this object was collected.
 long getStartTime()
          Gets the time to which the statistics contained in this object was collected.
 ContextApiTime[] getStats()
          Gets the statistics contained in this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentStatistics

public ComponentStatistics(long startTime,
                           long endTime,
                           ContextApiTime[] stats)
Creates a new ComponentStatistics with ContextApiTime objects collected between a given startTime and endTime

Parameters:
startTime -
endTime -
stats -
Method Detail

getEndTime

public long getEndTime()
Gets the time from which the statistics contained in this object was collected.

Returns:

getStartTime

public long getStartTime()
Gets the time to which the statistics contained in this object was collected.

Returns:

getStats

public ContextApiTime[] getStats()
Gets the statistics contained in this object.

Returns: