@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,
String connectHost,
long startTimeMs)
Creates a new instance of
WorkerWebServer . |
Modifier and Type | Method and Description |
---|---|
void |
stop()
Shuts down the web server.
|
addHandler, getBindHost, getLocalPort, getServer, 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, String connectHost, long startTimeMs)
WorkerWebServer
.webAddress
- the service addressworkerProcess
- the Alluxio worker processblockWorker
- block worker to manage blocksconnectHost
- the connect host for the web serverstartTimeMs
- start time millisecondsCopyright © 2023. All Rights Reserved.