protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
MemcacheService memcacheService = MemcacheServiceFactory.getMemcacheService();
Stats stats = memcacheService.getStatistics();
long itemCount = stats.getItemCount();
logger.info("Clearing memcache, item count in cache: {}", itemCount);
memcacheService.clearAll();
resp.getWriter().write("OK, " + itemCount);
}
}