Interface PeriodicStackLoggingDelegateMBean

All Superinterfaces:
SelfEmailingMBean

public interface PeriodicStackLoggingDelegateMBean extends 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 Type
    Method
    Description
    void
    Forcibly enter stack tracing mode.
    void
    Forcibly exit stack tracing mode.
    Name of this MBean

    Supported API: true
    int
    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
    Types of notification upon which stack tracing mode should be entered; a null or empty value matches no notifications

    Supported API: true
    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
    boolean
    Whether currently in stack tracing mode

    Supported API: true
    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
    void
    setStartTracingNotificationTypes(String startTracingNotificationTypes)
    Types of notification upon which stack tracing mode should be entered; a null or empty value matches no notifications

    Supported API: true
    void
    setStopTracingNotificationTypes(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: true

    Methods 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

      void setStartTracingNotificationTypes(String startTracingNotificationTypes)
      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

      void setStopTracingNotificationTypes(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: true
    • enterStackTracingMode

      @MBeanOperationImpact(1) void enterStackTracingMode()
      Forcibly enter stack tracing mode.

      Supported API: true
    • exitStackTracingMode

      @MBeanOperationImpact(1) void exitStackTracingMode()
      Forcibly exit stack tracing mode.

      Supported API: true