public class WebInterfaceServer extends Object
| Constructor and Description |
|---|
WebInterfaceServer(String configDir,
Configuration config,
int port)
Creates a new web interface server.
|
public WebInterfaceServer(String configDir, Configuration config, int port) throws Exception
configDir - The path to the configuration directory.config - The configuration for the JobManager. All jobs will be sent
to the JobManager described by this configuration.port - The port to launch the server on.Exception - Thrown, if the server setup failed.public void start()
throws Exception
Exception - Thrown, if the start fails.public void join()
throws InterruptedException
InterruptedException - Thrown, if the calling thread is interrupted.Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.