java.lang.Object
com.foreach.across.modules.debugweb.controllers.cache.CacheController

@DebugWebController public class CacheController extends Object
Since:
3.0.0
Author:
Arne Vandamme
  • Constructor Details

    • CacheController

      public CacheController(com.foreach.across.core.context.registry.AcrossContextBeanRegistry beanRegistry, org.springframework.context.ApplicationEventPublisher eventPublisher)
  • Method Details

    • buildMenu

      @EventListener public void buildMenu(DebugMenuEvent event)
    • cacheManagers

      @GetMapping("/cache/cacheManagers") public String cacheManagers(org.springframework.ui.Model model, @RequestParam(name="cacheManager",required=false) String cacheManagerName, @RequestParam(name="cleared",required=false) Integer cachesCleared)
    • cacheDetail

      @GetMapping("/cache/cacheManagers/cache") public String cacheDetail(@RequestParam("cacheManager") String cacheManagerName, @RequestParam("cache") String cacheName, org.springframework.ui.Model model, DebugMenu debugMenu, @RequestParam(name="cleared",required=false) Integer cachesCleared)
    • clearCache

      @GetMapping(value="/cache/cacheManagers/clear", params="cacheManager") public String clearCache(@RequestParam(name="cacheManager") String cacheManagerName)
    • clearCache

      @GetMapping(value="/cache/cacheManagers/clear", params={"cacheManager","cache"}) public String clearCache(@RequestParam("cacheManager") String cacheManagerName, @RequestParam("cache") String cacheName, @RequestParam(required=false,defaultValue="false") boolean redirectToManager)
    • noopCacheStatistics

      @EventListener public void noopCacheStatistics(DebugCacheStatistics<org.springframework.cache.support.NoOpCache> cacheStats)
    • concurrentMapCache

      @EventListener public void concurrentMapCache(DebugCacheStatistics<org.springframework.cache.concurrent.ConcurrentMapCache> cacheStats)