public class MemcacheStatsServlet
extends javax.servlet.http.HttpServlet
If you are using the ObjectifyService static factory, you can mount this servlet to see the memcache stats for an instance. This is nothing fancy, but it should give you an idea of what's going on.
Constructor and Description |
---|
MemcacheStatsServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected EntityMemcacheStats |
getMemcacheStats()
If you aren't using ObjectifyService, you can extend the servlet and override this method.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected EntityMemcacheStats getMemcacheStats()
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2016. All rights reserved.