Package wt.jmx.core.mbeans
Interface DeluxeStatsMonitorMBean
- All Superinterfaces:
SelfEmailingMBean
- All Known Subinterfaces:
MethodContextMonitorMBean,ServletRequestMonitorMBean,SessionMonitorMBean
- All Known Implementing Classes:
wt.jmx.core.mbeans.DeluxeStatsAndListenersMonitor,wt.jmx.core.mbeans.DeluxeStatsMonitor,ServletRequestMonitor,SessionMonitor
Encapsulation of common interface for monitoring MBeans with "deluxe"
statistics, i.e. those with a common approach to extensive baseline and
interval statistics.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionStatistics since last baseline (see resetBaselineStatistics())
Supported API: trueBaseline statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: trueName of baseline statistics logger
Supported API: trueintLength of "recent" statistics interval in seconds
Supported API: trueStatistics during last "recent" time interval (see RecentIntervalSeconds)
Supported API: true"Recent" statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: trueName of "recent" statistics logger
Supported API: trueLow-level (java.util.Formatter) statistics log format string; if specified, overrides StatisticsLoggerUseShortFormat and StatisticsLoggerSeparatorString
Supported API: trueList of statistics to be output to statistics logs
Supported API: trueString[]List of attributes supported for use in StatisticsLoggerOutputAttributes
Supported API: trueItem separator string used in statistics log format
Supported API: trueintLength of "summary" statistics interval in seconds
Supported API: true"Summary" statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: trueName of "summary" statistics logger
Supported API: truebooleanWhether multi-line format is used for statistics logging
Supported API: truebooleanWhether short format (which contains only attribute values, not names) is used for statistics logging
Supported API: truevoidLogs current baseline statistics and then resets them (establishes a new baseline)
Supported API: truevoidsetBaselineStatisticsLoggerLevel(String baselineStatisticsLoggerLevel) Baseline statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: truevoidsetRecentIntervalSeconds(int recentIntervalSeconds) Length of "recent" statistics interval in seconds
Supported API: truevoidsetRecentStatisticsLoggerLevel(String recentStatisticsLoggerLevel) "Recent" statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: truevoidsetStatisticsLoggerFormatString(String statisticsLoggerFormatString) Low-level (java.util.Formatter) statistics log format string; if specified, overrides StatisticsLoggerUseShortFormat and StatisticsLoggerSeparatorString
Supported API: truevoidsetStatisticsLoggerMultiLineFormat(boolean statisticsLoggerMultiLineFormat) Whether multi-line format is used for statistics logging
Supported API: truevoidsetStatisticsLoggerOutputAttributes(String statisticsLoggerOutputAttributes) List of statistics to be output to statistics logs
Supported API: truevoidsetStatisticsLoggerSeparatorString(String statisticsLoggerSeparatorString) Item separator string used in statistics log format
Supported API: truevoidsetStatisticsLoggerUseShortFormat(boolean statisticsLoggerUseShortFormat) Whether short format (which contains only attribute values, not names) is used for statistics logging
Supported API: truevoidsetSummaryIntervalSeconds(int summaryIntervalSeconds) Length of "summary" statistics interval in seconds
Supported API: truevoidsetSummaryStatisticsLoggerLevel(String summaryStatisticsLoggerLevel) "Summary" statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: trueMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Method Details
-
getBaselineStatisticsLoggerName
String getBaselineStatisticsLoggerName()Name of baseline statistics logger
Supported API: true -
getBaselineStatisticsLoggerLevel
String getBaselineStatisticsLoggerLevel()Baseline statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: true -
setBaselineStatisticsLoggerLevel
Baseline statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: true -
getBaselineStatistics
Statistics since last baseline (see resetBaselineStatistics())
Supported API: true- Throws:
OpenDataException
-
getRecentIntervalSeconds
int getRecentIntervalSeconds()Length of "recent" statistics interval in seconds
Supported API: true -
setRecentIntervalSeconds
void setRecentIntervalSeconds(int recentIntervalSeconds) Length of "recent" statistics interval in seconds
Supported API: true -
getRecentStatisticsLoggerName
String getRecentStatisticsLoggerName()Name of "recent" statistics logger
Supported API: true -
getRecentStatisticsLoggerLevel
String getRecentStatisticsLoggerLevel()"Recent" statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: true -
setRecentStatisticsLoggerLevel
"Recent" statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: true -
getRecentStatistics
Statistics during last "recent" time interval (see RecentIntervalSeconds)
Supported API: true- Throws:
OpenDataException
-
getSummaryIntervalSeconds
int getSummaryIntervalSeconds()Length of "summary" statistics interval in seconds
Supported API: true -
setSummaryIntervalSeconds
void setSummaryIntervalSeconds(int summaryIntervalSeconds) Length of "summary" statistics interval in seconds
Supported API: true -
getSummaryStatisticsLoggerName
String getSummaryStatisticsLoggerName()Name of "summary" statistics logger
Supported API: true -
getSummaryStatisticsLoggerLevel
String getSummaryStatisticsLoggerLevel()"Summary" statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: true -
setSummaryStatisticsLoggerLevel
"Summary" statistics logging level (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Supported API: true -
getStatisticsLoggerOutputAttributes
String getStatisticsLoggerOutputAttributes()List of statistics to be output to statistics logs
Supported API: true -
setStatisticsLoggerOutputAttributes
List of statistics to be output to statistics logs
Supported API: true -
getStatisticsLoggerOutputAttributesSupported
String[] getStatisticsLoggerOutputAttributesSupported()List of attributes supported for use in StatisticsLoggerOutputAttributes
Supported API: true -
isStatisticsLoggerUseShortFormat
boolean isStatisticsLoggerUseShortFormat()Whether short format (which contains only attribute values, not names) is used for statistics logging
Supported API: true -
setStatisticsLoggerUseShortFormat
void setStatisticsLoggerUseShortFormat(boolean statisticsLoggerUseShortFormat) Whether short format (which contains only attribute values, not names) is used for statistics logging
Supported API: true -
isStatisticsLoggerMultiLineFormat
boolean isStatisticsLoggerMultiLineFormat()Whether multi-line format is used for statistics logging
Supported API: true -
setStatisticsLoggerMultiLineFormat
void setStatisticsLoggerMultiLineFormat(boolean statisticsLoggerMultiLineFormat) Whether multi-line format is used for statistics logging
Supported API: true -
getStatisticsLoggerSeparatorString
String getStatisticsLoggerSeparatorString()Item separator string used in statistics log format
Supported API: true -
setStatisticsLoggerSeparatorString
Item separator string used in statistics log format
Supported API: true -
getStatisticsLoggerFormatString
String getStatisticsLoggerFormatString()Low-level (java.util.Formatter) statistics log format string; if specified, overrides StatisticsLoggerUseShortFormat and StatisticsLoggerSeparatorString
Supported API: true -
setStatisticsLoggerFormatString
Low-level (java.util.Formatter) statistics log format string; if specified, overrides StatisticsLoggerUseShortFormat and StatisticsLoggerSeparatorString
Supported API: true -
resetBaselineStatistics
Logs current baseline statistics and then resets them (establishes a new baseline)
Supported API: true
-