Class PidProcess

All Implemented Interfaces:
SystemProcess
Direct Known Subclasses:
UnixProcess, WindowsProcess

public abstract class PidProcess extends PollingProcess
Base implementation for processes that use PID (Process ID) values.
  • Field Details

    • pid

      protected final int pid
      The process ID.
  • Constructor Details

    • PidProcess

      public PidProcess(int pid)
  • Method Details

    • getPid

      public int getPid()
      Returns:
      the process ID.
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in class AbstractProcess
      Returns:
      the description of the system process.