|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SummaryMBean
Provides configurable periodic "summary" logging of JMX attributes
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
String |
getCustomDelegateFactoryClass()
Name of custom delegate factory class; must implement SummaryDelegateFactory Supported API: true |
String |
getFormatString()
Low-level (java.util.Formatter) log format string; if specified, overrides UseShortFormat and SeparatorString Supported API: true |
int |
getIntervalSeconds()
Interval, in seconds, at which logging will be done Supported API: true |
String |
getLoggerLevel()
Logging level; valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified); must be INFO (or DEBUG when LogAsDebug is true) for log messages to be produced Supported API: true |
String |
getLoggerName()
Name of logger to which this bean logs Supported API: true |
String |
getSeparatorString()
Item separator string used in log format Supported API: true |
boolean |
isGCFirst()
Whether a garbage collection should be explicitly performed immediately to querying the JMX attributes to log Supported API: true |
boolean |
isLogAsDebug()
Whether log messages should be generated as DEBUG or INFO level messages; see also LoggerLevel Supported API: true |
boolean |
isUseShortFormat()
Whether short format (which contains only attribute values, not names) is used for logging Supported API: true |
void |
remove()
Disable this summary and remove it from the management console Supported API: true |
void |
setCustomDelegateFactoryClass(String customDelegateFactoryClassname)
Name of custom delegate factory class; must implement SummaryDelegateFactory |
void |
setFormatString(String formatString)
Low-level (java.util.Formatter) log format string; if specified, overrides UseShortFormat and SeparatorString Supported API: true |
void |
setGCFirst(boolean gcFirst)
Whether a garbage collection should be explicitly performed immediately to querying the JMX attributes to log Supported API: true |
void |
setIntervalSeconds(int intervalSeconds)
Interval, in seconds, at which logging will be done Supported API: true |
void |
setLogAsDebug(boolean logAsDebug)
Whether log messages should be generated as DEBUG or INFO level messages; see also LoggerLevel Supported API: true |
void |
setLoggerLevel(String level)
Logging level; valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified); must be INFO (or DEBUG when LogAsDebug is true) for log messages to be produced Supported API: true |
void |
setSeparatorString(String separatorString)
Item separator string used in log format Supported API: true |
void |
setUseShortFormat(boolean useShortFormat)
Whether short format (which contains only attribute values, not names) is used for logging Supported API: true |
| Methods inherited from interface wt.jmx.core.mbeans.InfoMBean |
|---|
addInfoItem, changeInfoItemDisplayName, getInfoItemsAsOpenData, getInfoItemsAsStrings, getInfoItemsPreview, insertInfoItem, removeInfoItem, removeInfoItems |
| Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean |
|---|
emailThisMBean |
| Method Detail |
|---|
boolean isLogAsDebug()
void setLogAsDebug(boolean logAsDebug)
String getLoggerName()
String getLoggerLevel()
void setLoggerLevel(String level)
int getIntervalSeconds()
void setIntervalSeconds(int intervalSeconds)
boolean isGCFirst()
void setGCFirst(boolean gcFirst)
boolean isUseShortFormat()
void setUseShortFormat(boolean useShortFormat)
String getSeparatorString()
void setSeparatorString(String separatorString)
String getFormatString()
void setFormatString(String formatString)
String getCustomDelegateFactoryClass()
void setCustomDelegateFactoryClass(String customDelegateFactoryClassname)
throws ClassCastException,
ClassNotFoundException,
IllegalAccessException,
InstantiationException
If the class indicated by 'customDelegateFactoryClassname' extends SelfAwareMBean,
then an instance of the class will be registered and managed as a child of this
MBean.
Supported API: true
ClassCastException
ClassNotFoundException
IllegalAccessException
InstantiationExceptionvoid remove()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||