@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,
DataWorker worker)
Creates a new instance of
WorkerWebServer . |
WorkerWebServer(InetSocketAddress webAddress,
WorkerProcess workerProcess,
DataWorker worker,
FileSystem fileSystem)
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, DataWorker worker)
WorkerWebServer
.webAddress
- the service addressworkerProcess
- the Alluxio worker processworker
- block worker to manage blockspublic WorkerWebServer(InetSocketAddress webAddress, WorkerProcess workerProcess, DataWorker worker, FileSystem fileSystem)
WorkerWebServer
.webAddress
- the service addressworkerProcess
- the Alluxio worker processworker
- block worker to manage blocksfileSystem
- the filesystemCopyright © 2023. All Rights Reserved.