Interface IProcessLiveness

  • All Superinterfaces:
    java.lang.Runnable
    All Known Implementing Classes:
    ProcessLiveness

    public interface IProcessLiveness
    extends java.lang.Runnable
    The process liveness
    • Method Detail

      • isAlive

        boolean isAlive()
        Verify if the underlining process is alive
        Returns:
        true if it is alive
      • getStartupTime

        java.time.Instant getStartupTime()
        Get the startup time
        Returns:
        the startup time
      • getPollTimeout

        long getPollTimeout()
        Get the process poll timeout
        Returns:
        the process poll timeout
      • getProcess

        java.lang.Process getProcess()
        Get the process
        Returns:
        the process
      • getProcessId

        java.lang.Long getProcessId()
        Get the process id
        Returns:
        the process id
      • getLockTimeout

        java.time.Instant getLockTimeout()
        Get the lock timeout
        Returns:
        the lock timeout
      • getScriptPath

        java.nio.file.Path getScriptPath()
        Get the script path of this process or null if there is no folder
        Returns:
        the script folder