Package hudson.node_monitors
Class SwapSpaceMonitor.MemoryUsage2
java.lang.Object
org.jvnet.hudson.MemoryUsage
hudson.node_monitors.SwapSpaceMonitor.MemoryUsage2
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SwapSpaceMonitor
@ExportedBean
public static class SwapSpaceMonitor.MemoryUsage2
extends org.jvnet.hudson.MemoryUsage
Memory Usage.
MemoryUsage
+ stapler annotations.
- See Also:
-
Field Summary
Fields inherited from class org.jvnet.hudson.MemoryUsage
availablePhysicalMemory, availableSwapSpace, totalPhysicalMemory, totalSwapSpace
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Of the total physical memory of the system, available bytes.long
Available swap space in bytes.long
Total physical memory of the system, in bytes.long
Total number of swap space in bytes.Methods inherited from class org.jvnet.hudson.MemoryUsage
toString
-
Constructor Details
-
MemoryUsage2
public MemoryUsage2(org.jvnet.hudson.MemoryUsage mem)
-
-
Method Details
-
getTotalPhysicalMemory
@Exported public long getTotalPhysicalMemory()Total physical memory of the system, in bytes. -
getAvailablePhysicalMemory
@Exported public long getAvailablePhysicalMemory()Of the total physical memory of the system, available bytes. -
getTotalSwapSpace
@Exported public long getTotalSwapSpace()Total number of swap space in bytes. -
getAvailableSwapSpace
@Exported public long getAvailableSwapSpace()Available swap space in bytes.
-