public abstract class AbstractDiskSpaceMonitor extends NodeMonitor
DiskSpaceMonitorDescriptorExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
String |
freeSpaceThreshold
The free space threshold, below which the node monitor will be triggered.
|
LIST| Constructor and Description |
|---|
AbstractDiskSpaceMonitor() |
AbstractDiskSpaceMonitor(String threshold) |
| Modifier and Type | Method and Description |
|---|---|
Object |
data(Computer c)
Obtains the monitoring result currently available, or null if no data is available.
|
long |
getThresholdBytes() |
DiskSpaceMonitorDescriptor.DiskSpace |
markNodeOfflineIfDiskspaceIsTooLow(Computer c)
Marks the given node as offline if free disk space is below the configured threshold.
|
all, getAll, getColumnCaption, getDescriptor, isIgnored, setIgnored, triggerUpdatepublic final String freeSpaceThreshold
public AbstractDiskSpaceMonitor(String threshold) throws ParseException
ParseExceptionpublic AbstractDiskSpaceMonitor()
public long getThresholdBytes()
public Object data(Computer c)
NodeMonitordata in class NodeMonitor@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public DiskSpaceMonitorDescriptor.DiskSpace markNodeOfflineIfDiskspaceIsTooLow(Computer c)
c - the nodeCopyright © 2019. All rights reserved.