Class MemoryMonitorPanel

    • Field Detail

      • m_Properties

        protected static Properties m_Properties
        Contains the properties.
      • m_Running

        protected boolean m_Running
        whether the monitoring is running.
      • m_Monitor

        protected Runnable m_Monitor
        performs the actual monitoring.
      • m_Memory

        protected MemoryMXBean m_Memory
        the memory MX bean.
      • m_Counter

        protected NamedCounter m_Counter
        for keeping track of the tokens.
      • m_Interval

        protected int m_Interval
        the interval for refresh (in msec).
      • m_Divisor

        protected double m_Divisor
        the divisor for the bytes.
    • Constructor Detail

      • MemoryMonitorPanel

        public MemoryMonitorPanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • finishInit

        protected void finishInit()
        Finishes the initialization.
        Overrides:
        finishInit in class BasePanel
      • scale

        protected double scale​(double value)
        Scales the value to MB.
        Parameters:
        value - the value to scale
        Returns:
        the scaled value
      • update

        protected void update()
        Updates the plot.
      • stop

        public void stop()
        Stops the monitoring.
      • getProperties

        public static Properties getProperties()
        Returns the properties that define the editor.
        Returns:
        the properties