Package hudson.node_monitors
Class SwapSpaceMonitor
java.lang.Object
hudson.node_monitors.NodeMonitor
hudson.node_monitors.SwapSpaceMonitor
- All Implemented Interfaces:
ExtensionPoint
,Describable<NodeMonitor>
Checks the swap space availability.
- Since:
- 1.233
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Memory Usage.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionstatic AbstractNodeMonitorDescriptor<org.jvnet.hudson.MemoryUsage>
Deprecated.as of 2.0 use injectionFields inherited from class hudson.node_monitors.NodeMonitor
LIST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the column to be added toComputerSet
index.jelly.toHtml
(org.jvnet.hudson.MemoryUsage usage) Returns the HTML representation of the space.long
toMB
(org.jvnet.hudson.MemoryUsage usage) Methods inherited from class hudson.node_monitors.NodeMonitor
all, data, getAll, getDescriptor, isIgnored, setIgnored, triggerUpdate
-
Field Details
-
DESCRIPTOR
Deprecated.as of 2.0 use injection
-
-
Constructor Details
-
SwapSpaceMonitor
@DataBoundConstructor public SwapSpaceMonitor()
-
-
Method Details
-
toHtml
Returns the HTML representation of the space. -
toMB
public long toMB(org.jvnet.hudson.MemoryUsage usage) -
getColumnCaption
Description copied from class:NodeMonitor
Returns the name of the column to be added toComputerSet
index.jelly.- Overrides:
getColumnCaption
in classNodeMonitor
- Returns:
- null to not render a column. The convention is to use capitalization like "Foo Bar Zot".
-