@NotThreadSafe public final class WorkerWebServer extends WebServer
Modifier and Type | Field and Description |
---|---|
static String |
ALLUXIO_FILESYSTEM_CLIENT_RESOURCE_KEY |
static String |
ALLUXIO_WORKER_SERVLET_RESOURCE_KEY |
mServletContextHandler
Constructor and Description |
---|
WorkerWebServer(InetSocketAddress webAddress,
WorkerProcess workerProcess,
BlockWorker blockWorker)
Creates a new instance of
WorkerWebServer . |
Modifier and Type | Method and Description |
---|---|
void |
stop()
Shuts down the web server.
|
addHandler, getBindHost, getLocalPort, getServer, getServerConnector, setHandler, start
public static final String ALLUXIO_WORKER_SERVLET_RESOURCE_KEY
public static final String ALLUXIO_FILESYSTEM_CLIENT_RESOURCE_KEY
public WorkerWebServer(InetSocketAddress webAddress, WorkerProcess workerProcess, BlockWorker blockWorker)
WorkerWebServer
.webAddress
- the service addressworkerProcess
- the Alluxio worker processblockWorker
- block worker to manage blocksCopyright © 2023. All Rights Reserved.