Package wt.method.jmx
Interface MCHistogrammerMBean
- All Superinterfaces:
SelfEmailingMBean
- All Known Implementing Classes:
MCHistogrammer
Produce histogram statistics for method contexts.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionintInterval (in seconds) between automatic calls to resetData() operation
Supported API: truegetData()Histogram data for method contexts as structured CompositeData
Supported API: trueString[]Histogram data for method contexts as array of strings
Supported API: trueName of logger this MBean uses for normal logging of data and errors; data output to this logger is controlled by the LogOnReset attribute
Supported API: truegetName()Name of this MBean
Supported API: trueName of logger this MBean uses for structured data logging; structured data logging is only performed when the verbosity level of this logger is at least INFObooleanWhether data is logged (to logger indicated by LoggerName attribute) on invocations of resetData() operation
Supported API: truevoidReset collected data, starting aggregation of data afresh.voidsetAutoResetIntervalSeconds(int autoResetIntervalSeconds) Interval (in seconds) between automatic calls to resetData() operation
Supported API: truevoidsetLogOnReset(boolean logOnReset) Whether data is logged (to logger indicated by LoggerName attribute) on invocations of resetData() operation
Supported API: trueMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Method Details
-
getName
String getName()Name of this MBean
Supported API: true -
getAutoResetIntervalSeconds
int getAutoResetIntervalSeconds()Interval (in seconds) between automatic calls to resetData() operation
Supported API: true -
setAutoResetIntervalSeconds
void setAutoResetIntervalSeconds(int autoResetIntervalSeconds) Interval (in seconds) between automatic calls to resetData() operation
Supported API: true -
isLogOnReset
boolean isLogOnReset()Whether data is logged (to logger indicated by LoggerName attribute) on invocations of resetData() operation
Supported API: true -
setLogOnReset
void setLogOnReset(boolean logOnReset) Whether data is logged (to logger indicated by LoggerName attribute) on invocations of resetData() operation
Supported API: true -
getLoggerName
String getLoggerName()Name of logger this MBean uses for normal logging of data and errors; data output to this logger is controlled by the LogOnReset attribute
Supported API: true -
getStructuredDataLoggerName
String getStructuredDataLoggerName()Name of logger this MBean uses for structured data logging; structured data logging is only performed when the verbosity level of this logger is at least INFOFor use by advanced log4j appenders and layouts like
AsyncJDBCAppenderandTSVLayout.
Supported API: true -
getData
Histogram data for method contexts as structured CompositeData
Supported API: true- Throws:
OpenDataException
-
getDataAsStrings
String[] getDataAsStrings()Histogram data for method contexts as array of strings
Supported API: true -
resetData
Reset collected data, starting aggregation of data afresh. Logs data collected to this point when LogOnReset is true.
Supported API: true
-