Class Throughput
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.zookeeper.graph.servlets.JsonServlet
-
- org.apache.zookeeper.graph.servlets.Throughput
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class Throughput extends JsonServlet
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.zookeeper.graph.servlets.JsonServlet
JsonServlet.JsonRequest
-
-
Constructor Summary
Constructors Constructor Description Throughput(LogSource src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getJSON(LogIterator iter, long scale)
java.lang.String
handleRequest(JsonServlet.JsonRequest request)
-
Methods inherited from class org.apache.zookeeper.graph.servlets.JsonServlet
doGet
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Constructor Detail
-
Throughput
public Throughput(LogSource src) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
handleRequest
public java.lang.String handleRequest(JsonServlet.JsonRequest request) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getJSON
protected java.lang.String getJSON(LogIterator iter, long scale) throws java.io.IOException
- Throws:
java.io.IOException
-
-