Class CacheController
java.lang.Object
com.foreach.across.modules.debugweb.controllers.cache.CacheController
- Since:
- 3.0.0
- Author:
- Arne Vandamme
-
Constructor Summary
ConstructorDescriptionCacheController
(com.foreach.across.core.context.registry.AcrossContextBeanRegistry beanRegistry, org.springframework.context.ApplicationEventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildMenu
(DebugMenuEvent event) cacheDetail
(String cacheManagerName, String cacheName, org.springframework.ui.Model model, DebugMenu debugMenu, Integer cachesCleared) cacheManagers
(org.springframework.ui.Model model, String cacheManagerName, Integer cachesCleared) clearCache
(String cacheManagerName) clearCache
(String cacheManagerName, String cacheName, boolean redirectToManager) void
concurrentMapCache
(DebugCacheStatistics<org.springframework.cache.concurrent.ConcurrentMapCache> cacheStats) void
noopCacheStatistics
(DebugCacheStatistics<org.springframework.cache.support.NoOpCache> cacheStats)
-
Constructor Details
-
CacheController
public CacheController(com.foreach.across.core.context.registry.AcrossContextBeanRegistry beanRegistry, org.springframework.context.ApplicationEventPublisher eventPublisher)
-
-
Method Details
-
buildMenu
-
cacheManagers
-
cacheDetail
-
clearCache
-
clearCache
-
noopCacheStatistics
@EventListener public void noopCacheStatistics(DebugCacheStatistics<org.springframework.cache.support.NoOpCache> cacheStats) -
concurrentMapCache
@EventListener public void concurrentMapCache(DebugCacheStatistics<org.springframework.cache.concurrent.ConcurrentMapCache> cacheStats)
-