Package 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
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
The free space threshold, below which the node monitor will be triggered.Fields inherited from class hudson.node_monitors.NodeMonitor
LIST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionObtains the monitoring result currently available, or null if no data is available.long
protected long
protected long
protected long
void
setFreeSpaceWarningThreshold
(String freeSpaceWarningThreshold) Methods inherited from class hudson.node_monitors.NodeMonitor
all, getAll, getColumnCaption, getDescriptor, isIgnored, setIgnored, triggerUpdate
-
Field Details
-
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
- Throws:
ParseException
-
AbstractDiskSpaceMonitor
protected AbstractDiskSpaceMonitor()
-
-
Method Details
-
readResolve
-
setFreeSpaceWarningThreshold
-
getFreeSpaceWarningThreshold
-
getThresholdBytes
public long getThresholdBytes() -
getThresholdBytes
-
getWarningThresholdBytes
protected long getWarningThresholdBytes() -
getWarningThresholdBytes
-
data
Description copied from class:NodeMonitor
Obtains the monitoring result currently available, or null if no data is available.- Overrides:
data
in classNodeMonitor
-