org.jasig.schedassist.web.admin
Class CacheManagerController

java.lang.Object
  extended by org.jasig.schedassist.web.admin.CacheManagerController

@Controller
@RequestMapping(value="/admin/cache-manager.html")
public class CacheManagerController
extends Object

Controller for interacting with the CacheManager.

Version:
$Id: CacheManagerController.java 3062 2011-02-07 15:59:18Z npblair $
Author:
Nicholas Blair, npblair@wisc.edu

Constructor Summary
CacheManagerController()
           
 
Method Summary
 String clearCache(org.springframework.ui.ModelMap model, String cacheName)
           
 String getCacheStatistics(org.springframework.ui.ModelMap model)
           
 void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManagerController

public CacheManagerController()
Method Detail

setCacheManager

public void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
Parameters:
cacheManager - the cacheManager to set

getCacheStatistics

@RequestMapping(method=GET)
public String getCacheStatistics(org.springframework.ui.ModelMap model)
Parameters:
model -
Returns:

clearCache

@RequestMapping(method=POST,
                params="action=clear")
public String clearCache(org.springframework.ui.ModelMap model,
                                        @RequestParam
                                        String cacheName)
Parameters:
model -
cacheName -
Returns:


Copyright © 2012 Jasig. All Rights Reserved.