Package wt.jmx.core.mbeans
Interface PeriodicStackLoggingDelegateMBean
- All Superinterfaces:
SelfEmailingMBean
NotificationHandlerDelegateFactory that enters and exits a periodic full
stack tracing mode based on notifications received.
When multiple instances of this MBean are used, the full stack tracing mode remains in effect as long as there are more entries into this mode than exits.
Currently not denoted as supported as this MBean is still somewhat
experimental and details are subject to change.
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionvoidForcibly enter stack tracing mode.voidForcibly exit stack tracing mode.getName()Name of this MBean
Supported API: trueintInterval at which full stack trace will be logged when in stack tracing mode; non-positive values disable this mode; value shared by all instances
Supported API: trueTypes of notification upon which stack tracing mode should be entered; a null or empty value matches no notifications
Supported API: trueTypes of notification upon which stack tracing mode should be exited; only checked where the notification type does not match StartTracingNotificationTypes; a null or empty value matches no notifications
Supported API: truebooleanWhether currently in stack tracing mode
Supported API: truevoidsetStackTraceIntervalSeconds(int stackTraceIntervalSeconds) Interval at which full stack trace will be logged when in stack tracing mode; non-positive values disable this mode; value shared by all instances
Supported API: truevoidsetStartTracingNotificationTypes(String startTracingNotificationTypes) Types of notification upon which stack tracing mode should be entered; a null or empty value matches no notifications
Supported API: truevoidsetStopTracingNotificationTypes(String stopTracingNotificationTypes) Types of notification upon which stack tracing mode should be exited; only checked where the notification type does not match StartTracingNotificationTypes; a null or empty value matches no notifications
Supported API: trueMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Method Details
-
getName
String getName()Name of this MBean
Supported API: true -
isInStackTracingMode
boolean isInStackTracingMode()Whether currently in stack tracing mode
Supported API: true -
getStackTraceIntervalSeconds
int getStackTraceIntervalSeconds()Interval at which full stack trace will be logged when in stack tracing mode; non-positive values disable this mode; value shared by all instances
Supported API: true -
setStackTraceIntervalSeconds
void setStackTraceIntervalSeconds(int stackTraceIntervalSeconds) Interval at which full stack trace will be logged when in stack tracing mode; non-positive values disable this mode; value shared by all instances
Supported API: true -
getStartTracingNotificationTypes
String getStartTracingNotificationTypes()Types of notification upon which stack tracing mode should be entered; a null or empty value matches no notifications
Supported API: true -
setStartTracingNotificationTypes
Types of notification upon which stack tracing mode should be entered; a null or empty value matches no notifications
Supported API: true -
getStopTracingNotificationTypes
String getStopTracingNotificationTypes()Types of notification upon which stack tracing mode should be exited; only checked where the notification type does not match StartTracingNotificationTypes; a null or empty value matches no notifications
Supported API: true -
setStopTracingNotificationTypes
Types of notification upon which stack tracing mode should be exited; only checked where the notification type does not match StartTracingNotificationTypes; a null or empty value matches no notifications
Supported API: true -
enterStackTracingMode
Forcibly enter stack tracing mode.
Supported API: true -
exitStackTracingMode
Forcibly exit stack tracing mode.
Supported API: true
-