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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classMemory Usage.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic AbstractNodeMonitorDescriptor<org.jvnet.hudson.MemoryUsage> Deprecated.as of 2.0 use injectionFields inherited from class hudson.node_monitors.NodeMonitor
LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the column to be added toComputerSetindex.jelly.toHtml(org.jvnet.hudson.MemoryUsage usage) Returns the HTML representation of the space.longtoMB(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:NodeMonitorReturns the name of the column to be added toComputerSetindex.jelly.- Overrides:
getColumnCaptionin classNodeMonitor- Returns:
- null to not render a column. The convention is to use capitalization like "Foo Bar Zot".
-