public static interface ProcessChecker.Factory
Modifier and Type | Method and Description |
---|---|
ProcessChecker |
get(int pid,
java.time.Instant timeout)
Get a new process checker to check on the given PID.
|
ProcessChecker get(int pid, java.time.Instant timeout)
pid
- the process id to check ontimeout
- the moment in time after which the check should produce a GenieTimeoutException
ProcessChecker