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:
info.magnolia.cms.servlets.MVCServletHandler

public class CacheToolsPage
extends info.magnolia.module.admininterface.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(java.lang.String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 java.lang.String flushAllCaches()
           
 java.lang.String flushByUUID()
           
 java.lang.String flushNamedCache()
           
 java.util.Map<java.lang.String,java.lang.Integer> getCacheSizes()
           
 java.util.Iterator getRepositories()
           
 java.lang.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(java.lang.String name,
                      javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
Method Detail

refresh

public java.lang.String refresh()

flushNamedCache

public java.lang.String flushNamedCache()

flushByUUID

public java.lang.String flushByUUID()

flushAllCaches

public java.lang.String flushAllCaches()

getCacheSizes

public java.util.Map<java.lang.String,java.lang.Integer> getCacheSizes()

getRepositories

public java.util.Iterator getRepositories()


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