tachyon.web
Class UIWebServer
java.lang.Object
tachyon.web.UIWebServer
public class UIWebServer
- extends Object
Class that bootstraps and starts the web server for the web interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIWebServer
public UIWebServer(String serverName,
InetSocketAddress address,
MasterInfo masterInfo)
- Constructor that pairs urls with servlets and sets the webapp folder.
- Parameters:
serverName
- Name of the serverInetSocketAddress
- Address of the servermasterInfo
- MasterInfo for the tachyon filesystem this UIWebServer supports
setHandler
public void setHandler(org.eclipse.jetty.server.handler.AbstractHandler handler)
startWebServer
public void startWebServer()
shutdownWebServer
public void shutdownWebServer()
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.