net.java.dev.moskito.core.producers
Interface IStats

All Known Implementing Classes:
AbstractStats, ActionStats, CacheStats, FilterStats, RequestOrientedStats, ServiceStats, ServletStats

public interface IStats

This interface declares the common utility methods of statistical values sets.

Author:
dvayanu

Method Summary
 IStatsSnapshot createSnapshot(String aIntervalName)
          This method creates a snapshot of all statistical values
 String getName()
          This method returns the name of this set of statistical values.
 String toStatsString()
          This method creates a human-readable textual representation of all statistical values in all intervals.
 String toStatsString(String aIntervalName)
          This method creates a human-readable textual representation of all statistical values in the given interval.
 

Method Detail

createSnapshot

IStatsSnapshot createSnapshot(String aIntervalName)
This method creates a snapshot of all statistical values

Parameters:
aIntervalName - the name of the interval the values were collected for
Returns:
the snapshot

toStatsString

String toStatsString()
This method creates a human-readable textual representation of all statistical values in all intervals.

Returns:
the formatted text output

toStatsString

String toStatsString(String aIntervalName)
This method creates a human-readable textual representation of all statistical values in the given interval.

Parameters:
aIntervalName - the name of the interval or null for all intervals
Returns:
the formatted text output

getName

String getName()
This method returns the name of this set of statistical values.

Returns:
the name


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