Interface HttpServerProcessHandlerExecutionHandler
- All Superinterfaces:
ProcessExecutionHandler
- All Known Implementing Classes:
ProcessExecutionHandlerDefault,ProcessExecutionHandlerSync
-
Method Summary
Modifier and TypeMethodDescriptionvoidwaitForPortOpen(String host, int port, int nbrTry, int sleepMilliseconds) Wait for the specified host:port to be connectable.Methods inherited from interface org.spincast.plugins.processutils.ProcessExecutionHandler
isProcessAlive, killProcess, onEnd, onExit, onLaunchException, onSystemErr, onSystemOut, onTimeoutException, setProcessAndProcessKiller
-
Method Details
-
waitForPortOpen
void waitForPortOpen(String host, int port, int nbrTry, int sleepMilliseconds) throws PortNotOpenException Wait for the specified host:port to be connectable.- Throws:
A-PortNotOpenExceptionexception, if the port is still not connectbale after the specified amount of time.PortNotOpenException
-