Class MemoryMonitor

java.lang.Object
hudson.node_monitors.NodeMonitor
io.jenkins.plugins.specsmonitor.MemoryMonitor
All Implemented Interfaces:
ExtensionPoint, Describable<NodeMonitor>

public class MemoryMonitor extends NodeMonitor
Node monitor that reports the total physical memory (RAM) of each node, with free memory as a tooltip.
  • Field Details

  • Constructor Details

    • MemoryMonitor

      @DataBoundConstructor public MemoryMonitor()
  • Method Details

    • getWarnBelowPercent

      public int getWarnBelowPercent()
      Free memory below this percentage of the total is highlighted as a warning.
    • setWarnBelowPercent

      @DataBoundSetter public void setWarnBelowPercent(int warnBelowPercent)
    • isLow

      public boolean isLow(MemoryInfo info)
      Whether the usable memory in info is below the configured threshold.