public CacheRegionInfo(String regionName, Map<String, Object> attrs, HibernateStatsMBeanProvider statsBeanProvider) { this.regionName = regionName; this.shortName = CacheRegionUtils.determineShortName(regionName); this.statsBeanProvider = statsBeanProvider; setAttributes(attrs); }
private void init() { updateCachedRegionsCount(0, 0); handleStatisticsEnabled(); vuMeterGlobalPanel.setup(appContext, clusterModel, persistenceUnit, true); vuMeterPerRegionPanel.setup(appContext, clusterModel, persistenceUnit, false); }
private AggregateH2LCRuntimeStatsPanel createAggregateRuntimeStatsPanel() { AggregateH2LCRuntimeStatsPanel panel = new AggregateH2LCRuntimeStatsPanel(); panel.setName(AGGREGATE_NODE_NAME); panel.setup(appContext, clusterModel, persistenceUnit); return panel; }
private void createBeanProvider() { if (beanProvider != null) { beanProvider.removeNotificationListener(this); } beanProvider = new HibernateStatsMBeanProvider(clusterModel, persistenceUnit); beanProvider.addNotificationListener(this); }
public void suspend() { removePolledAttributeListener(); cacheSamplesPanel.stop(); }
protected void init() { cacheSamplesPanel.start(); addPolledAttributeListener(); }
private void init() { updateCachedRegionsCount(0, 0); vuMeterGlobalPanel.setup(appContext, clusterModel, persistenceUnit, true); vuMeterPerRegionPanel.setup(appContext, clusterModel, persistenceUnit, false); }
private JComponent createRuntimeStatisticsPanel() { runtimeStatsPanel = new HibernateRuntimeStatsPanel(); runtimeStatsPanel.setName(HibernatePresentationPanel.HIBERNATE_KEY); return runtimeStatsPanel; }
public Void call() throws Exception { regionInfo.flush(); return null; } });
public void run() { if (cacheSamplesPanel != null) { cacheSamplesPanel.repaint(); } } };
public CacheRegionInfo(String regionName, Map<String, Object> attrs, HibernateStatsMBeanProvider statsBeanProvider) { this.regionName = regionName; this.shortName = CacheRegionUtils.determineShortName(regionName); this.statsBeanProvider = statsBeanProvider; setAttributes(attrs); }
public void suspend() { removePolledAttributeListener(); cacheSamplesPanel.stop(); }
protected void init() { cacheSamplesPanel.start(); addPolledAttributeListener(); }
private void init() { updateCachedRegionsCount(0, 0); vuMeterGlobalPanel.setup(appContext, clusterModel, persistenceUnit, true); vuMeterPerRegionPanel.setup(appContext, clusterModel, persistenceUnit, false); }
public CacheRegionInfo(String regionName, Map<String, Object> attrs, HibernateStatsMBeanProvider statsBeanProvider) { this.regionName = regionName; this.shortName = CacheRegionUtils.determineShortName(regionName); this.statsBeanProvider = statsBeanProvider; setAttributes(attrs); }
public void suspend() { removePolledAttributeListener(); cacheSamplesPanel.stop(); }
protected void init() { cacheSamplesPanel.start(); addPolledAttributeListener(); }