Interface MonitoringTimerTaskMBean

    • Method Detail

      • getPeriod

        long getPeriod()
        Returns the period value of this queue, -1 if not set.
        Returns:
        the period value of this queue; -1 if not set.
      • getMonitoredAttributes

        String[] getMonitoredAttributes()
        Returns the comma separated list of all monitored attributes.
        Returns:
        the comma separated list of all monitored attributes.
      • addMonitoredAttributes

        void addMonitoredAttributes​(String MBeanName,
                                    String attributes)
        Add the specified attributes to the list of monitored attributes. If the Mbean is already monitored, the specified list of attributes overrides the existing one.
        Parameters:
        MBeanName - the name of the MBean.
        attributes - the comma separated list of attributes to monitor.
      • delMonitoredAttributes

        void delMonitoredAttributes​(String MBeanName)
        Removes all the attributes of the specified MBean in the list of monitored attributes.
        Parameters:
        MBeanName - the name of the MBean.
      • cancelTask

        void cancelTask()
        Cancels this timer task.