Class EhcacheControlPanel
java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<AbstractCacheControlPanel.Body>
io.micronaut.controlpanel.core.AbstractEachBeanControlPanel<AbstractCacheControlPanel.Body>
io.micronaut.controlpanel.panels.cache.AbstractCacheControlPanel<io.micronaut.cache.ehcache.EhcacheSyncCache>
io.micronaut.controlpanel.panels.cache.EhcacheControlPanel
- All Implemented Interfaces:
ConfigurableControlPanel, ControlPanel<AbstractCacheControlPanel.Body>, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable
@EachBean(io.micronaut.cache.ehcache.EhcacheSyncCache.class)
public class EhcacheControlPanel
extends AbstractCacheControlPanel<io.micronaut.cache.ehcache.EhcacheSyncCache>
Control panel for managing Ehcache caches.
Provides cache information and operations specific to Ehcache-based caches.
- Since:
- 2.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractCacheControlPanel
AbstractCacheControlPanel.BodyNested classes/interfaces inherited from interface ControlPanel
ControlPanel.Category, ControlPanel.View -
Field Summary
Fields inherited from class AbstractCacheControlPanel
ENABLED_PROPERTY, NAMEFields inherited from class AbstractControlPanel
configuration, controlPanelNameFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEhcacheControlPanel(io.micronaut.cache.ehcache.EhcacheSyncCache cache, ControlPanelConfiguration configuration) Constructor. -
Method Summary
Methods inherited from class AbstractCacheControlPanel
getBadge, getBeanName, getBody, getCacheSize, getCategory, getPanelNameMethods inherited from class AbstractEachBeanControlPanel
getBodyView, getDetailedView, getName, getTitleMethods inherited from class AbstractControlPanel
getOrder, isEnabledMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ControlPanel
hasDetails
-
Constructor Details
-
EhcacheControlPanel
protected EhcacheControlPanel(@Parameter io.micronaut.cache.ehcache.EhcacheSyncCache cache, @Named("cache") ControlPanelConfiguration configuration) Constructor.- Parameters:
cache- the Ehcache cache instanceconfiguration- the control panel configuration
-
-
Method Details
-
getCache
protected io.micronaut.cache.ehcache.EhcacheSyncCache getCache()- Specified by:
getCachein classAbstractCacheControlPanel<io.micronaut.cache.ehcache.EhcacheSyncCache>
-
getCacheAsMap
- Specified by:
getCacheAsMapin classAbstractCacheControlPanel<io.micronaut.cache.ehcache.EhcacheSyncCache>
-
getIcon
Returns the icon for Ehcache control panels.- Specified by:
getIconin interfaceConfigurableControlPanel- Overrides:
getIconin classAbstractCacheControlPanel<io.micronaut.cache.ehcache.EhcacheSyncCache>- Returns:
- the icon name
-