Package hudson.node_monitors
Class SwapSpaceMonitor
- java.lang.Object
-
- hudson.node_monitors.NodeMonitor
-
- hudson.node_monitors.SwapSpaceMonitor
-
- All Implemented Interfaces:
ExtensionPoint,Describable<NodeMonitor>
public class SwapSpaceMonitor extends NodeMonitor
Checks the swap space availability.- Since:
- 1.233
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSwapSpaceMonitor.DescriptorImplstatic classSwapSpaceMonitor.MemoryUsage2Memory Usage.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractNodeMonitorDescriptor<org.jvnet.hudson.MemoryUsage>DESCRIPTORDeprecated.as of 2.0 use injection-
Fields inherited from class hudson.node_monitors.NodeMonitor
LIST
-
-
Constructor Summary
Constructors Constructor Description SwapSpaceMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColumnCaption()Returns the name of the column to be added toComputerSetindex.jelly.StringtoHtml(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 Detail
-
DESCRIPTOR
@Deprecated public static AbstractNodeMonitorDescriptor<org.jvnet.hudson.MemoryUsage> DESCRIPTOR
Deprecated.as of 2.0 use injection
-
-
Method Detail
-
toHtml
public String toHtml(org.jvnet.hudson.MemoryUsage usage)
Returns the HTML representation of the space.
-
toMB
public long toMB(org.jvnet.hudson.MemoryUsage usage)
-
getColumnCaption
public String 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".
-
-