@NotThreadSafe public final class MasterWebServer extends WebServer
Modifier and Type | Field and Description |
---|---|
static String |
ALLUXIO_FILESYSTEM_CLIENT_RESOURCE_KEY |
static String |
ALLUXIO_MASTER_SERVLET_RESOURCE_KEY |
mServletContextHandler
Constructor and Description |
---|
MasterWebServer(String serviceName,
InetSocketAddress address,
AlluxioMasterProcess masterProcess)
Creates a new instance of
MasterWebServer . |
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_MASTER_SERVLET_RESOURCE_KEY
public static final String ALLUXIO_FILESYSTEM_CLIENT_RESOURCE_KEY
public MasterWebServer(String serviceName, InetSocketAddress address, AlluxioMasterProcess masterProcess)
MasterWebServer
.serviceName
- the service nameaddress
- the service addressmasterProcess
- the Alluxio master processCopyright © 2023. All Rights Reserved.