Class MemoryUsage

java.lang.Object
org.jvnet.hudson.MemoryUsage
All Implemented Interfaces:
Serializable

public class MemoryUsage extends Object implements Serializable
Memory usage. Immutable.
Author:
Kohsuke Kawaguchi
See Also:
  • Field Details

    • totalPhysicalMemory

      public final long totalPhysicalMemory
      Total physical memory of the system, in bytes. -1 if unknown.
    • availablePhysicalMemory

      public final long availablePhysicalMemory
      Of the total physical memory of the system, available bytes. -1 if unknown.
    • totalSwapSpace

      public final long totalSwapSpace
      Total number of swap space in bytes. -1 if unknown.
    • availableSwapSpace

      public final long availableSwapSpace
      Available swap space in bytes. -1 if unknown.
  • Constructor Details

    • MemoryUsage

      public MemoryUsage(long totalPhysicalMemory, long availablePhysicalMemory, long totalSwapSpace, long availableSwapSpace)
  • Method Details