public abstract class AbstractDiskSpaceMonitor extends NodeMonitor
DiskSpaceMonitorDescriptor
ExtensionPoint.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, triggerUpdate
public final String freeSpaceThreshold
public AbstractDiskSpaceMonitor(String threshold) throws ParseException
ParseException
public AbstractDiskSpaceMonitor()
public long getThresholdBytes()
public Object data(Computer c)
NodeMonitor
data
in class NodeMonitor
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public DiskSpaceMonitorDescriptor.DiskSpace markNodeOfflineIfDiskspaceIsTooLow(Computer c)
c
- the nodeCopyright © 2004–2021. All rights reserved.