hudson.node_monitors
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
AbstractDiskSpaceMonitor
@DataBoundConstructor
public AbstractDiskSpaceMonitor(String threshold)
throws ParseException
- Throws:
ParseException
AbstractDiskSpaceMonitor
public AbstractDiskSpaceMonitor()
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
Copyright © 2004-2013. All Rights Reserved.