org.terracotta.modules.ehcache.presentation
Class BaseEhcacheRuntimeStatsPanel
java.lang.Object
XContainer
org.terracotta.modules.ehcache.presentation.BaseEhcacheRuntimeStatsPanel
- All Implemented Interfaces:
- HierarchyListener, EventListener, ListSelectionListener, CacheManagerModelListener
- Direct Known Subclasses:
- AggregateEhcacheRuntimeStatsPanel, ClientEhCacheRuntimeStatsPanel
public abstract class BaseEhcacheRuntimeStatsPanel
- extends XContainer
- implements HierarchyListener, ListSelectionListener, CacheManagerModelListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appContext
protected ApplicationContext appContext
cacheManagerModel
protected CacheManagerModel cacheManagerModel
clusterListener
protected org.terracotta.modules.ehcache.presentation.BaseEhcacheRuntimeStatsPanel.ClusterListener clusterListener
cacheTable
protected XObjectTable cacheTable
cacheTableModel
protected XObjectTableModel cacheTableModel
selectedCacheModel
protected CacheModel selectedCacheModel
refreshButton
protected XButton refreshButton
clearAllStatsButton
protected XButton clearAllStatsButton
toggleStatsEnabledButton
protected JToggleButton toggleStatsEnabledButton
sortColumn
protected int sortColumn
sortDirection
protected int sortDirection
makeCoherentAction
protected org.terracotta.modules.ehcache.presentation.BaseEhcacheRuntimeStatsPanel.MakeCoherentAction makeCoherentAction
BaseEhcacheRuntimeStatsPanel
public BaseEhcacheRuntimeStatsPanel()
setup
public void setup(ApplicationContext appContext,
CacheManagerModel cacheManagerModel)
getCacheManagerModel
protected CacheManagerModel getCacheManagerModel()
setCoherent
protected abstract void setCoherent(CacheModel cacheModel,
boolean coherent)
createTablePanel
protected JComponent createTablePanel()
hierarchyChanged
public void hierarchyChanged(HierarchyEvent e)
- Specified by:
hierarchyChanged in interface HierarchyListener
valueChanged
public void valueChanged(ListSelectionEvent e)
- Specified by:
valueChanged in interface ListSelectionListener
getSelectedCacheModel
public CacheModel getSelectedCacheModel()
setSelectedCacheModel
public void setSelectedCacheModel(CacheModel cacheModel)
createTableModelWorker
protected abstract BaseEhcacheRuntimeStatsPanel.TableModelWorker createTableModelWorker()
setCacheTableModel
protected void setCacheTableModel(CacheManagerTableModel tableModel)
cacheModelAdded
public void cacheModelAdded(CacheModel cacheModel)
- Specified by:
cacheModelAdded in interface CacheManagerModelListener
cacheModelRemoved
public void cacheModelRemoved(CacheModel cacheModel)
- Specified by:
cacheModelRemoved in interface CacheManagerModelListener
cacheModelChanged
public void cacheModelChanged(CacheModel cacheModel)
- Specified by:
cacheModelChanged in interface CacheManagerModelListener
cachesEnabled
public void cachesEnabled()
- Specified by:
cachesEnabled in interface CacheManagerModelListener
statisticsEnabled
public void statisticsEnabled()
- Specified by:
statisticsEnabled in interface CacheManagerModelListener
updateStats
protected void updateStats()
tearDown
public void tearDown()
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.