Class ProcessExited

All Implemented Interfaces:
Future<Integer>, Associator, Eligible

public class ProcessExited extends Closed<Integer>
Fired when a process has exited.
  • Constructor Details

    • ProcessExited

      public ProcessExited(StartProcess startedBy, int exitValue)
      Instantiates a new event.
      startedBy - the event that started the process
      exitValue - the exit value
  • Method Details

    • startedBy

      Returns the event that started the terminated process.
      the startedBy
    • exitValue

      public int exitValue()
      Convenience method to access the exit value without calling Event.get() (which may block).
      the exit value of the process