org.apache.avro.ipc.trace
Class TraceClientServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.avro.ipc.trace.TraceClientServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class TraceClientServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Method Summary |
protected List<Span> |
collectAllSpans(List<URL> hosts)
|
protected List<Span> |
collectRangedSpans(List<URL> hosts,
long start,
long end)
|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
We support the following URL patterns
/overview/ Show all execution patterns
/collection/[p_id] Show details for pattern with [p_id]
/collection/[p_id]/[n_id]/ Show trace node with [n_id] |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static org.apache.velocity.Template |
getTemplate(org.apache.velocity.app.VelocityEngine ve,
String path)
|
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 |
TraceClientServlet
public TraceClientServlet()
getTemplate
public static org.apache.velocity.Template getTemplate(org.apache.velocity.app.VelocityEngine ve,
String path)
throws IOException
- Throws:
IOException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
collectAllSpans
protected List<Span> collectAllSpans(List<URL> hosts)
collectRangedSpans
protected List<Span> collectRangedSpans(List<URL> hosts,
long start,
long end)
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
- We support the following URL patterns
/overview/ Show all execution patterns
/collection/[p_id] Show details for pattern with [p_id]
/collection/[p_id]/[n_id]/ Show trace node with [n_id]
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.