use of org.apache.beam.runners.dataflow.worker.status.BaseStatusServlet in project beam by apache.
the class WindmillStateCache method statusServlet.
public BaseStatusServlet statusServlet() {
return new BaseStatusServlet("/cachez") {
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
PrintWriter writer = response.getWriter();
writer.println("<h1>Cache Information</h1>");
appendSummaryHtml(writer);
}
};
}
Aggregations