Class AbstractDiskSpaceMonitor

java.lang.Object
hudson.node_monitors.NodeMonitor
hudson.node_monitors.AbstractDiskSpaceMonitor
All Implemented Interfaces:
ExtensionPoint, Describable<NodeMonitor>
Direct Known Subclasses:
DiskSpaceMonitor, TemporarySpaceMonitor

public abstract class AbstractDiskSpaceMonitor extends NodeMonitor
Author:
Kohsuke Kawaguchi
See Also:
  • Field Details

    • freeSpaceThreshold

      public final String freeSpaceThreshold
      The free space threshold, below which the node monitor will be triggered. This is a human readable string representation as entered by the user, so that we can retain the original notation.
  • Constructor Details

    • AbstractDiskSpaceMonitor

      protected AbstractDiskSpaceMonitor(String threshold) throws ParseException
      Throws:
      ParseException
    • AbstractDiskSpaceMonitor

      protected AbstractDiskSpaceMonitor()
  • Method Details

    • readResolve

      public Object readResolve()
    • setFreeSpaceWarningThreshold

      @DataBoundSetter public void setFreeSpaceWarningThreshold(String freeSpaceWarningThreshold)
    • getFreeSpaceWarningThreshold

      public String getFreeSpaceWarningThreshold()
    • getThresholdBytes

      public long getThresholdBytes()
    • getThresholdBytes

      protected long getThresholdBytes(Computer c)
    • getWarningThresholdBytes

      protected long getWarningThresholdBytes()
    • getWarningThresholdBytes

      protected long getWarningThresholdBytes(Computer c)
    • data

      public Object data(Computer c)
      Description copied from class: NodeMonitor
      Obtains the monitoring result currently available, or null if no data is available.
      Overrides:
      data in class NodeMonitor