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.MemoryUsageMemory Usage.MemoryUsage+ stapler annotations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemoryUsage2(org.jvnet.hudson.MemoryUsage mem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAvailablePhysicalMemory()Of the total physical memory of the system, available bytes.longgetAvailableSwapSpace()Available swap space in bytes.longgetTotalPhysicalMemory()Total physical memory of the system, in bytes.longgetTotalSwapSpace()Total number of swap space in bytes.
-
-
-
Method Detail
-
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.
-
-