info.magnolia.cms.cache.pages
Class CacheToolsPage

java.lang.Object
  extended by info.magnolia.cms.servlets.MVCServletHandlerImpl
      extended by info.magnolia.cms.servlets.CommandBasedMVCServletHandler
          extended by info.magnolia.module.admininterface.PageMVCHandler
              extended by info.magnolia.module.admininterface.TemplatedMVCHandler
                  extended by info.magnolia.cms.cache.pages.CacheToolsPage
All Implemented Interfaces:
MVCServletHandler

public class CacheToolsPage
extends TemplatedMVCHandler

Tools page to show cache info and flush caches.

Author:
Bert Leunis

Field Summary
 
Fields inherited from class info.magnolia.module.admininterface.PageMVCHandler
COMMAND_PARAMETER_NAME, COMMAND_SHOW, VIEW_SHOW
 
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
exception, request, response, VIEW_ERROR, VIEW_SUCCESS
 
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler
VIEW_NOTHING
 
Constructor Summary
CacheToolsPage(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 String flushAllCaches()
           
 String flushByUUID()
           
 String flushNamedCache()
           
 Map<String,Integer> getCacheSizes()
           
 Iterator getRepositories()
           
 String refresh()
           
 
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler
getTemplateName, renderHtml
 
Methods inherited from class info.magnolia.module.admininterface.PageMVCHandler
getForm, getI18nBasename, getMsgs, getParams, init, setForm, setI18nBasename, setMsgs, setParams, show
 
Methods inherited from class info.magnolia.cms.servlets.CommandBasedMVCServletHandler
execute, findCommand, getCatalogueName, getCommandContext, getViewNameAfterExecution, setCatalogueName
 
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
getCommand, getException, getExceptionStackTrace, getName, getRequest, getResponse, populateFromRequest, setCommand, setRequest, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheToolsPage

public CacheToolsPage(String name,
                      javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
Method Detail

refresh

public String refresh()

flushNamedCache

public String flushNamedCache()

flushByUUID

public String flushByUUID()

flushAllCaches

public String flushAllCaches()

getCacheSizes

public Map<String,Integer> getCacheSizes()

getRepositories

public Iterator getRepositories()


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.