public.javadoc.org.spincast.plugins.processutils.HttpServerProcessHandlerExecutionHandler.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
HttpServerProcessHandlerExecutionHandler (org.spincast:spincast-framework 1.14.0 API)
org.spincast.plugins.processutils
Interface HttpServerProcessHandlerExecutionHandler
-
- All Superinterfaces:
- ProcessExecutionHandler
- All Known Implementing Classes:
- ProcessExecutionHandlerDefault, ProcessExecutionHandlerSync
public interface HttpServerProcessHandlerExecutionHandler
extends ProcessExecutionHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
void
waitForPortOpen(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 Detail
-
waitForPortOpen
void waitForPortOpen(String host,
int port,
int nbrTry,
int sleepMilliseconds)
throws PortNotOpenException
Wait for the specified host:port to be connectable.
- Throws:
A
- PortNotOpenException
exception, if the
port is still not connectbale after the specified amount of time.
PortNotOpenException
Copyright © 2019. All rights reserved.