Class MemoryInfo

java.lang.Object
io.jenkins.plugins.specsmonitor.MemoryInfo
All Implemented Interfaces:
Serializable

public class MemoryInfo extends Object implements Serializable
Total physical memory (RAM) of a node.
See Also:
  • Constructor Details

    • MemoryInfo

      public MemoryInfo(long totalBytes)
      Parameters:
      totalBytes - total physical memory in bytes, or a value <= 0 if unknown
  • Method Details

    • getTotalBytes

      public long getTotalBytes()
    • getDisplay

      public String getDisplay()
      Human-readable size using binary units, e.g. 15.6 GiB, or N/A if unknown.
    • toString

      public String toString()
      Overrides:
      toString in class Object