Class 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:
    Serialized Form
    • Constructor Detail

      • MemoryUsage2

        public MemoryUsage2​(org.jvnet.hudson.MemoryUsage mem)
    • 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.