Package wt.jmx.core.mbeans
Interface PeriodicMemoryDumperDelegateMBean
- All Superinterfaces:
SelfEmailingMBean
- All Known Implementing Classes:
PeriodicMemoryDumperDelegate
NotificationHandlerDelegateFactory that enters and exists a periodic
memory usage dumping mode usage information based on notifications received.
When multiple instances of this MBean are used, the full memory dumping 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 memory dumping mode.voidForcibly exit memory dumping mode.intInterval at which a memory dump will be logged when in memory dump mode; non-positive values disable this mode; value shared by all instances
Supported API: truegetName()Name of this MBean
Supported API: trueTypes of notification upon which memory dump mode should be entered; a null or empty value matches no notifications
Supported API: trueTypes of notification upon which memory dump mode should be exited; only checked where the notification type does not match StartDumpingNotificationTypes; a null or empty value matches no notifications
Supported API: truebooleanWhether currently in memory dump mode
Supported API: truevoidsetMemoryDumpIntervalSeconds(int stackTraceIntervalSeconds) Interval at which a memory dump will be logged when in memory dump mode; non-positive values disable this mode; value shared by all instances
Supported API: truevoidsetStartDumpingNotificationTypes(String startDumpingNotificationTypes) Types of notification upon which memory dump mode should be entered; a null or empty value matches no notifications
Supported API: truevoidsetStopDumpingNotificationTypes(String stopDumpingNotificationTypes) Types of notification upon which memory dumping mode should be exited; only checked where the notification type does not match StartDumpingNotificationTypes; 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 -
isInMemoryDumpMode
boolean isInMemoryDumpMode()Whether currently in memory dump mode
Supported API: true -
getMemoryDumpIntervalSeconds
int getMemoryDumpIntervalSeconds()Interval at which a memory dump will be logged when in memory dump mode; non-positive values disable this mode; value shared by all instances
Supported API: true -
setMemoryDumpIntervalSeconds
void setMemoryDumpIntervalSeconds(int stackTraceIntervalSeconds) Interval at which a memory dump will be logged when in memory dump mode; non-positive values disable this mode; value shared by all instances
Supported API: true -
getStartDumpingNotificationTypes
String getStartDumpingNotificationTypes()Types of notification upon which memory dump mode should be entered; a null or empty value matches no notifications
Supported API: true -
setStartDumpingNotificationTypes
Types of notification upon which memory dump mode should be entered; a null or empty value matches no notifications
Supported API: true -
getStopDumpingNotificationTypes
String getStopDumpingNotificationTypes()Types of notification upon which memory dump mode should be exited; only checked where the notification type does not match StartDumpingNotificationTypes; a null or empty value matches no notifications
Supported API: true -
setStopDumpingNotificationTypes
Types of notification upon which memory dumping mode should be exited; only checked where the notification type does not match StartDumpingNotificationTypes; a null or empty value matches no notifications
Supported API: true -
enterMemoryDumpingMode
Forcibly enter memory dumping mode.
Supported API: true -
exitMemoryDumpingMode
Forcibly exit memory dumping mode.
Supported API: true
-