private AggregateEhcacheRuntimeStatsPanel createAggregateRuntimeStatsPanel() { AggregateEhcacheRuntimeStatsPanel panel = new AggregateEhcacheRuntimeStatsPanel(); panel.setName(AGGREGATE_NODE_NAME); panel.setup(getApplicationContext(), cacheManagerModel); panel.addPropertyChangeListener(this); return panel; }
public void suspend() { removePolledAttributeListener(); cacheSamplesPanel.stop(); }
protected void init() { cacheSamplesPanel.start(); addPolledAttributeListener(); }
public TopologyPanel() { super(new BorderLayout()); enableCachesAction = new EnableCachesAction(true); disableCachesAction = new EnableCachesAction(false); enableStatisticsAction = new StatisticsControlAction(true); disableStatisticsAction = new StatisticsControlAction(false); enableBulkLoadingAction = new BulkLoadingControlAction(true); disableBulkLoadingAction = new BulkLoadingControlAction(false); clearCachesAction = new ClearCachesAction(); showConfigAction = new ShowConfigAction(); }
@Override protected void init() { vuMeterGlobalPanel.setup(appContext, cacheManagerModel, true); vuMeterPerCachePanel.setup(appContext, cacheManagerModel, false); handleSummaryText(); statisticsEnabled(); }
@Override protected void init() { super.init(); updateSummary(); }
@Override protected void init() { vuMeterGlobalPanel.setup(appContext, cacheManagerModel, true); vuMeterPerRegionPanel.setup(appContext, cacheManagerModel, false); handleCacheAddedOrRemoved(); }
private EhcacheToolBar createOperationsPanel() { EhcacheToolBar toolBar = new EhcacheToolBar(); toolBar.add(enableBulkLoadAction = new BulkLoadControlAction(true)); toolBar.add(disableBulkLoadAction = new BulkLoadControlAction(false)); return toolBar; }
public EhcachePerformancePanel() { super(new BorderLayout()); manageStatsAction = new ManageStatisticsAction(); addHierarchyListener(this); queryForStatsMessage = new QueryForStatsMessage(manageStatsAction); }
public EhcacheRuntimeStatsPanel() { super(new BorderLayout()); manageStatsAction = new ManageStatisticsAction(); addHierarchyListener(this); queryForStatsMessage = new QueryForStatsMessage(manageStatsAction); }
private CacheManagerTopologyPanel createCacheManagerView(Set<CacheManagerInstance> selectedCacheManagerInstances) { setMode(Mode.CACHE_MANAGER); CacheManagerTopologyPanel result = new CacheManagerTopologyPanel(this, selectedCacheManagerInstances); return result; }
private CacheTopologyPanel createCacheView(Set<CacheModel> selectedCacheModels) { setMode(Mode.CACHE); CacheTopologyPanel result = new CacheTopologyPanel(this, selectedCacheModels); return result; }
private AggregateEhcacheRuntimeStatsPanel createAggregateRuntimeStatsPanel() { AggregateEhcacheRuntimeStatsPanel panel = new AggregateEhcacheRuntimeStatsPanel(); panel.setName(AGGREGATE_NODE_NAME); panel.setup(getApplicationContext(), cacheManagerModel); return panel; }
private CacheManagerTopologyPanel createCacheManagerView() { setMode(Mode.CACHE_MANAGER); CacheManagerTopologyPanel result = new CacheManagerTopologyPanel(this); return result; }
private AggregateEhcacheRuntimeStatsPanel createAggregateRuntimeStatsPanel() { AggregateEhcacheRuntimeStatsPanel panel = new AggregateEhcacheRuntimeStatsPanel(); panel.setName(AGGREGATE_NODE_NAME); panel.setup(getApplicationContext(), cacheManagerModel); panel.addPropertyChangeListener(this); return panel; }