Class SwapSpaceMonitor

java.lang.Object
hudson.node_monitors.NodeMonitor
hudson.node_monitors.SwapSpaceMonitor
All Implemented Interfaces:
ExtensionPoint, Describable<NodeMonitor>

public class SwapSpaceMonitor extends NodeMonitor
Checks the swap space availability.
Since:
1.233
Author:
Kohsuke Kawaguchi
  • Field Details

  • Constructor Details

    • SwapSpaceMonitor

      @DataBoundConstructor public SwapSpaceMonitor()
  • Method Details

    • toHtml

      public String toHtml(org.jvnet.hudson.MemoryUsage usage)
      Returns the HTML representation of the space.
    • toMB

      public long toMB(org.jvnet.hudson.MemoryUsage usage)
    • getColumnCaption

      public String getColumnCaption()
      Description copied from class: NodeMonitor
      Returns the name of the column to be added to ComputerSet index.jelly.
      Overrides:
      getColumnCaption in class NodeMonitor
      Returns:
      null to not render a column. The convention is to use capitalization like "Foo Bar Zot".