| Modifier and Type | Class and Description |
|---|---|
static class |
Server.ServerState |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkServerIsUp(InetAddress server,
int port) |
void |
ensureJavaVersion() |
static URLClassLoader |
getClassLoader() |
String |
getPID() |
static ServerOptions |
getServerOptions() |
String |
getServerState() |
static File |
getThisJarLocation() |
static void |
printVersion() |
static boolean |
serverCameUp(int timeout,
long sleepTime,
InetAddress server,
int port) |
static boolean |
serverWentDown(int timeout,
long sleepTime,
InetAddress server,
int port) |
void |
startServer(String[] args) |
void |
startServer(String[] args,
URLClassLoader classLoader) |
void |
stopServer() |
public static final String bar
public static URLClassLoader getClassLoader()
public void startServer(String[] args, URLClassLoader classLoader) throws Exception
Exceptionpublic void ensureJavaVersion()
public void startServer(String[] args) throws Exception
Exceptionpublic void stopServer()
public static File getThisJarLocation()
public static void printVersion()
public static boolean serverWentDown(int timeout, long sleepTime, InetAddress server, int port)
public static boolean serverCameUp(int timeout, long sleepTime, InetAddress server, int port)
public static boolean checkServerIsUp(InetAddress server, int port)
public static ServerOptions getServerOptions()
public String getServerState()