Class ProcessInfo


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

      Constructors 
      Constructor Description
      ProcessInfo​(java.lang.String type, java.lang.Integer id, java.lang.Number cpuTime)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number 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.
      • Methods inherited from class java.lang.Object

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

      • ProcessInfo

        public ProcessInfo​(java.lang.String type,
                           java.lang.Integer id,
                           java.lang.Number cpuTime)
    • Method Detail

      • getType

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

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

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