@NotThreadSafe public final class JobWorkerWebServer extends WebServer
Modifier and Type | Field and Description |
---|---|
static String |
ALLUXIO_JOB_WORKER_SERVLET_RESOURCE_KEY |
mServletContextHandler
Constructor and Description |
---|
JobWorkerWebServer(String serviceName,
InetSocketAddress address,
JobWorkerProcess jobWorker)
Creates a new instance of
JobWorkerWebServer . |
addHandler, getBindHost, getLocalPort, getServer, setHandler, start, stop
public static final String ALLUXIO_JOB_WORKER_SERVLET_RESOURCE_KEY
public JobWorkerWebServer(String serviceName, InetSocketAddress address, JobWorkerProcess jobWorker)
JobWorkerWebServer
. It pairs URLs with servlets.serviceName
- name of the web serviceaddress
- address of the serverjobWorker
- the job workerCopyright © 2023. All Rights Reserved.