Package io.jenkins.plugins.specsmonitor
Class MemoryMonitor
java.lang.Object
hudson.node_monitors.NodeMonitor
io.jenkins.plugins.specsmonitor.MemoryMonitor
- All Implemented Interfaces:
ExtensionPoint,Describable<NodeMonitor>
Node monitor that reports the total physical memory (RAM) of each node, with
free memory as a tooltip.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.node_monitors.NodeMonitor
LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintFree memory below this percentage of the total is highlighted as a warning.booleanisLow(MemoryInfo info) Whether the usable memory ininfois below the configured threshold.voidsetWarnBelowPercent(int warnBelowPercent) Methods inherited from class hudson.node_monitors.NodeMonitor
all, data, getAll, getColumnCaption, getDescriptor, isIgnored, setIgnored, triggerUpdate
-
Field Details
-
DEFAULT_WARN_BELOW_PERCENT
public static final int DEFAULT_WARN_BELOW_PERCENTDefault forgetWarnBelowPercent().- See Also:
-
-
Constructor Details
-
MemoryMonitor
@DataBoundConstructor public MemoryMonitor()
-
-
Method Details
-
getWarnBelowPercent
public int getWarnBelowPercent()Free memory below this percentage of the total is highlighted as a warning. -
setWarnBelowPercent
@DataBoundSetter public void setWarnBelowPercent(int warnBelowPercent) -
isLow
Whether the usable memory ininfois below the configured threshold.
-