Class InfinispanSyncCacheControlPanel
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.infinispan.InfinispanSyncCache>
io.micronaut.controlpanel.panels.cache.infinispan.InfinispanSyncCacheControlPanel
- All Implemented Interfaces:
ConfigurableControlPanel, ControlPanel<AbstractCacheControlPanel.Body>, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable
public class InfinispanSyncCacheControlPanel
extends AbstractCacheControlPanel<io.micronaut.cache.infinispan.InfinispanSyncCache>
Control panel for managing Infinispan caches.
Provides cache information and operations specific to Infinispan-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
ConstructorsConstructorDescriptionInfinispanSyncCacheControlPanel(io.micronaut.cache.infinispan.InfinispanSyncCache 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
-
InfinispanSyncCacheControlPanel
public InfinispanSyncCacheControlPanel(io.micronaut.cache.infinispan.InfinispanSyncCache cache, ControlPanelConfiguration configuration) Constructor.- Parameters:
cache- the Infinispan cache instanceconfiguration- the control panel configuration
-
-
Method Details
-
getCache
protected io.micronaut.cache.infinispan.InfinispanSyncCache getCache()- Specified by:
getCachein classAbstractCacheControlPanel<io.micronaut.cache.infinispan.InfinispanSyncCache>
-
getCacheAsMap
- Specified by:
getCacheAsMapin classAbstractCacheControlPanel<io.micronaut.cache.infinispan.InfinispanSyncCache>
-
getIcon
Returns the icon for Infinispan cache control panels.- Specified by:
getIconin interfaceConfigurableControlPanel- Overrides:
getIconin classAbstractCacheControlPanel<io.micronaut.cache.infinispan.InfinispanSyncCache>- Returns:
- the icon name
-