Module swim.system

Class SystemPulse

java.lang.Object
swim.system.reflect.Pulse
swim.system.reflect.SystemPulse

public class SystemPulse extends Pulse
  • Field Details

    • cpuUsage

      protected final int cpuUsage
    • cpuTotal

      protected final int cpuTotal
    • memUsage

      protected final long memUsage
    • memTotal

      protected final long memTotal
    • diskUsage

      protected final long diskUsage
    • diskTotal

      protected final long diskTotal
    • startTime

      protected final long startTime
  • Constructor Details

    • SystemPulse

      public SystemPulse(int cpuUsage, int cpuTotal, long memUsage, long memTotal, long diskUsage, long diskTotal, long startTime)
  • Method Details

    • isDefined

      public boolean isDefined()
      Specified by:
      isDefined in class Pulse
    • cpuUsage

      public int cpuUsage()
    • cpuTotal

      public int cpuTotal()
    • memUsage

      public long memUsage()
    • memTotal

      public long memTotal()
    • diskUsage

      public long diskUsage()
    • diskTotal

      public long diskTotal()
    • startTime

      public long startTime()
    • latest

      public static SystemPulse latest()
    • toValue

      public Value toValue()
      Specified by:
      toValue in class Pulse
    • form

      @Kind public static Form<SystemPulse> form()
    • empty

      public static SystemPulse empty()