@NotThreadSafe public final class WorkerWebServer extends WebServer
Modifier and Type | Field and Description |
---|---|
static String |
ALLUXIO_WORKER_SERVLET_RESOURCE_KEY |
mWebAppContext
Constructor and Description |
---|
WorkerWebServer(InetSocketAddress webAddress,
WorkerProcess workerProcess,
BlockWorker blockWorker,
String connectHost,
long startTimeMs)
Creates a new instance of
WorkerWebServer . |
addHandler, getBindHost, getLocalPort, getServer, setHandler, start, stop
public static final String ALLUXIO_WORKER_SERVLET_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.