Class AbstractDiskSpaceMonitor

    • Field Detail

      • 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 Detail

      • AbstractDiskSpaceMonitor

        protected AbstractDiskSpaceMonitor()
    • Method Detail

      • getThresholdBytes

        public long getThresholdBytes()
      • 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
      • markNodeOfflineIfDiskspaceIsTooLow

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public DiskSpaceMonitorDescriptor.DiskSpace markNodeOfflineIfDiskspaceIsTooLow​(Computer c)
        Marks the given node as offline if free disk space is below the configured threshold.
        Parameters:
        c - the node
        Returns:
        the free space
        Since:
        1.521