Class ProcessLiveness

    • Constructor Summary

      Constructors 
      Constructor Description
      ProcessLiveness​(java.lang.String id, java.util.List<java.lang.Process> processList, IProcessOutputStream outputStream, IProcessOutputStream errorStream, java.nio.file.Path scriptPath, java.time.Instant lockTimeout, long pollTimeout)
      Constructor for ProcessLiveness
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Instant getLockTimeout()
      Get the lock timeout
      long getPollTimeout()
      Get the process poll timeout
      java.lang.Process getProcess()
      Get the process
      java.lang.Long getProcessId()
      Get the process id
      java.nio.file.Path getScriptPath()
      Get the script path of this process or null if there is no folder
      java.time.Instant getStartupTime()
      Get the startup time
      boolean isAlive()
      Verify if the underlining process is alive
      void run()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait