ch.elca.el4j.services.statistics.light
Interface LightStatisticsReporterMBean

All Known Implementing Classes:
LightStatisticsReporter

public interface LightStatisticsReporterMBean

This interface defines the functionality accessible through JMX.

Author:
Andreas Bur (ABU)
File-location:
LightStatisticsReporterMBean
Last check-in date:
2009-08-04 15:17:52 +0200 (Di, 04. Aug 2009) by swismer for revision 3880

Method Summary
 void disableMonitor()
          Disables the monitor preventing gathering measurements.
 void enableMonitor()
          Enables the monitor to gather measurements.
 String[] getData()
          Retrieves the performance measurements and returns a string representation.
 String getFormatString()
           
 boolean isFullyQualified()
           
 String report()
          Shows a Html report of the current data.
 void resetMonitor()
          Clears all the measured data.
 void setFormatString(String formatString)
          Sets the format string used to layout measurements.
 void setFullyQualified(boolean fullyQualified)
          Sets whether the class names should be shown in fully qualified representation.
 

Method Detail

getData

String[] getData()
Retrieves the performance measurements and returns a string representation. It's format can be changed through the setFormatString(String) method.

Returns:
Returns the performance measurements.

resetMonitor

void resetMonitor()
Clears all the measured data.


enableMonitor

void enableMonitor()
Enables the monitor to gather measurements.


disableMonitor

void disableMonitor()
Disables the monitor preventing gathering measurements.


getFormatString

String getFormatString()
Returns:
Returns the format string used to layout measurements.

setFormatString

void setFormatString(String formatString)
Sets the format string used to layout measurements. The formatter is a MessageFormat instance.

Parameters:
formatString - The format string.
See Also:
MessageFormat

isFullyQualified

boolean isFullyQualified()
Returns:
Returns true if class names are shown fully qualified.

setFullyQualified

void setFullyQualified(boolean fullyQualified)
Sets whether the class names should be shown in fully qualified representation.

Parameters:
fullyQualified - true to show fully qualified class names.

report

String report()
Shows a Html report of the current data.

Returns:
Data formatted as html.


Copyright © 2005-2011 ELCA. All Rights Reserved.