Class ProcessInfo


  • public class ProcessInfo
    extends java.lang.Object
    Represents process info
    • Constructor Summary

      Constructors 
      Constructor Description
      ProcessInfo()  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Double getCpuTime()
      Specifies cumulative CPU usage in seconds across all threads of the process since the process start.
      java.lang.Integer getId()
      Specifies process id.
      java.lang.String getType()
      Specifies process type.
      void setCpuTime​(java.lang.Double cpuTime)
      Specifies cumulative CPU usage in seconds across all threads of the process since the process start.
      void setId​(java.lang.Integer id)
      Specifies process id.
      void setType​(java.lang.String type)
      Specifies process type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProcessInfo

        public ProcessInfo()
    • Method Detail

      • getType

        public java.lang.String getType()
        Specifies process type.
      • setType

        public void setType​(java.lang.String type)
        Specifies process type.
      • getId

        public java.lang.Integer getId()
        Specifies process id.
      • setId

        public void setId​(java.lang.Integer id)
        Specifies process id.
      • getCpuTime

        public java.lang.Double getCpuTime()
        Specifies cumulative CPU usage in seconds across all threads of the process since the process start.
      • setCpuTime

        public void setCpuTime​(java.lang.Double cpuTime)
        Specifies cumulative CPU usage in seconds across all threads of the process since the process start.