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


public interface IStatsSnapshot

This interface declares a snapshot of an instance of IStat that was taken at any time. It declares the mandatory content conversion methods for different output formats.

Author:
dvayanu

Method Summary
 String toLogString()
          This method shall create a textual representation that is human-readable and proper to write it into a log file.
 String toSQL()
          This method shall create a SQL statement from the snapshot values.
 String toXML()
          This method shall create an XML representation of all snapshot values.
 

Method Detail

toLogString

String toLogString()
This method shall create a textual representation that is human-readable and proper to write it into a log file.

Returns:
the formatted string.

toXML

String toXML()
This method shall create an XML representation of all snapshot values.

Returns:
the formatted XML string.

toSQL

String toSQL()
This method shall create a SQL statement from the snapshot values.

Returns:
the SQL string.


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