net.java.dev.moskito.core.producers
Class AbstractStats

java.lang.Object
  extended by net.java.dev.moskito.core.producers.AbstractStats
All Implemented Interfaces:
IStats
Direct Known Subclasses:
CacheStats, RequestOrientedStats

public abstract class AbstractStats
extends Object
implements IStats

This abstract class is the super class of all statistical value sets.

Author:
dvayanu

Constructor Summary
AbstractStats()
           
 
Method Summary
 IStatsSnapshot createSnapshot(String aIntervalName)
          This method creates a snapshot of all statistical values
 String toStatsString()
          This method creates a human-readable textual representation of all statistical values in all intervals.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.java.dev.moskito.core.producers.IStats
getName, toStatsString
 

Constructor Detail

AbstractStats

public AbstractStats()
Method Detail

toStatsString

public String toStatsString()
Description copied from interface: IStats
This method creates a human-readable textual representation of all statistical values in all intervals.

Specified by:
toStatsString in interface IStats
Returns:
the formatted text output
See Also:
IStats.toStatsString()

createSnapshot

public IStatsSnapshot createSnapshot(String aIntervalName)
Description copied from interface: IStats
This method creates a snapshot of all statistical values

Specified by:
createSnapshot in interface IStats
Parameters:
aIntervalName - the name of the interval the values were collected for
Returns:
the snapshot
See Also:
IStats.createSnapshot(java.lang.String)


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework