tachyon.web
Class UIWebServer

java.lang.Object
  extended by tachyon.web.UIWebServer

public class UIWebServer
extends Object

Class that bootstraps and starts the web server for the web interface.


Constructor Summary
UIWebServer(String serverName, InetSocketAddress address, MasterInfo masterInfo)
          Constructor that pairs urls with servlets and sets the webapp folder.
 
Method Summary
 void setHandler(org.eclipse.jetty.server.handler.AbstractHandler handler)
           
 void shutdownWebServer()
           
 void startWebServer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 server
InetSocketAddress - Address of the server
masterInfo - MasterInfo for the tachyon filesystem this UIWebServer supports
Method Detail

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.