@NotThreadSafe public final class ProxyWebServer extends WebServer
Modifier and Type | Field and Description |
---|---|
static String |
ALLUXIO_PROXY_SERVLET_RESOURCE_KEY |
static String |
FILE_SYSTEM_SERVLET_RESOURCE_KEY |
static String |
STREAM_CACHE_SERVLET_RESOURCE_KEY |
mServletContextHandler
Constructor and Description |
---|
ProxyWebServer(String serviceName,
InetSocketAddress address,
ProxyProcess proxyProcess)
Creates a new instance of
ProxyWebServer . |
Modifier and Type | Method and Description |
---|---|
void |
stop()
Shuts down the web server.
|
addHandler, getBindHost, getLocalPort, getServer, setHandler, start
public static final String ALLUXIO_PROXY_SERVLET_RESOURCE_KEY
public static final String FILE_SYSTEM_SERVLET_RESOURCE_KEY
public static final String STREAM_CACHE_SERVLET_RESOURCE_KEY
public ProxyWebServer(String serviceName, InetSocketAddress address, ProxyProcess proxyProcess)
ProxyWebServer
.serviceName
- the service nameaddress
- the service addressproxyProcess
- the Alluxio proxy processCopyright © 2023. All Rights Reserved.