org.apache.accumulo.server.monitor.servlets.trace
Class Summary

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.accumulo.server.monitor.servlets.BasicServlet
              extended by org.apache.accumulo.server.monitor.servlets.trace.Summary
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Summary
extends BasicServlet

See Also:
Serialized Form

Field Summary
static int DEFAULT_MINUTES
           
 
Fields inherited from class org.apache.accumulo.server.monitor.servlets.BasicServlet
log
 
Constructor Summary
Summary()
           
 
Method Summary
static String dateString(long millis)
           
static int getIntParameter(javax.servlet.http.HttpServletRequest req, String name, int defaultMinutes)
           
protected  Scanner getScanner(StringBuilder sb)
           
static String getStringParameter(javax.servlet.http.HttpServletRequest req, String name, String defaultValue)
           
 String getTitle(javax.servlet.http.HttpServletRequest req)
           
 void pageBody(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, StringBuilder sb)
           
 
Methods inherited from class org.apache.accumulo.server.monitor.servlets.BasicServlet
banner, currentPage, decode, doGet, doPost, encode, getCookie, pageEnd, pageStart, sanitize
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MINUTES

public static final int DEFAULT_MINUTES
See Also:
Constant Field Values
Constructor Detail

Summary

public Summary()
Method Detail

getTitle

public String getTitle(javax.servlet.http.HttpServletRequest req)
Specified by:
getTitle in class BasicServlet

pageBody

public void pageBody(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp,
                     StringBuilder sb)
              throws Exception
Overrides:
pageBody in class BasicServlet
Throws:
Exception

getStringParameter

public static String getStringParameter(javax.servlet.http.HttpServletRequest req,
                                        String name,
                                        String defaultValue)

getIntParameter

public static int getIntParameter(javax.servlet.http.HttpServletRequest req,
                                  String name,
                                  int defaultMinutes)

dateString

public static String dateString(long millis)

getScanner

protected Scanner getScanner(StringBuilder sb)
                      throws AccumuloException
Throws:
AccumuloException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.