public class SchedulerServer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KILL_REQUEST_CONTEXT |
static java.lang.String |
RESTART_REQUEST_CONTEXT |
Constructor and Description |
---|
SchedulerServer(Config runtime,
IScheduler scheduler,
int port) |
Modifier and Type | Method and Description |
---|---|
protected com.sun.net.httpserver.HttpServer |
createServer(int port,
java.util.concurrent.Executor executor) |
java.lang.String |
getHost() |
int |
getPort() |
void |
start() |
void |
stop() |
public static final java.lang.String KILL_REQUEST_CONTEXT
public static final java.lang.String RESTART_REQUEST_CONTEXT
public SchedulerServer(Config runtime, IScheduler scheduler, int port) throws java.io.IOException
java.io.IOException
public void start()
public void stop()
public java.lang.String getHost()
public int getPort()
protected com.sun.net.httpserver.HttpServer createServer(int port, java.util.concurrent.Executor executor) throws java.io.IOException
java.io.IOException