org.terracotta.modules.ehcache.presentation
Class EhcacheOverviewPanel

java.lang.Object
  extended by XContainer
      extended by org.terracotta.modules.ehcache.presentation.BaseClusterModelPanel
          extended by org.terracotta.modules.ehcache.presentation.EhcacheOverviewPanel
All Implemented Interfaces:
EventListener, CacheManagerModelListener

public class EhcacheOverviewPanel
extends BaseClusterModelPanel
implements CacheManagerModelListener


Field Summary
 
Fields inherited from class org.terracotta.modules.ehcache.presentation.BaseClusterModelPanel
appContext, bundle, clusterListener, clusterModel, mainPanel, messageLabel, messagePanel
 
Constructor Summary
EhcacheOverviewPanel()
           
 
Method Summary
 void cacheModelAdded(CacheModel cacheModel)
           
 void cacheModelChanged(CacheModel cacheModel)
           
 void cacheModelRemoved(CacheModel cacheModel)
           
 void cachesEnabled()
           
protected  XContainer createMainPanel()
           
protected  CacheManagerModel getCacheManagerModel()
           
protected  void init()
           
 void setup(ApplicationContext appContext, CacheManagerModel cacheManagerModel)
           
 void statisticsEnabled()
           
 void tearDown()
           
protected  void updateEnabledCachesCount(int clusteredCacheCount, int allCachesCount, int enabledCacheCount)
           
 
Methods inherited from class org.terracotta.modules.ehcache.presentation.BaseClusterModelPanel
clientConnected, clientDisconnected, getActiveCoordinator, getApplicationContext, getClusterModel, resume, setStatus, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhcacheOverviewPanel

public EhcacheOverviewPanel()
Method Detail

setup

public void setup(ApplicationContext appContext,
                  CacheManagerModel cacheManagerModel)
Overrides:
setup in class BaseClusterModelPanel

init

protected void init()
Specified by:
init in class BaseClusterModelPanel

createMainPanel

protected XContainer createMainPanel()
Specified by:
createMainPanel in class BaseClusterModelPanel

updateEnabledCachesCount

protected void updateEnabledCachesCount(int clusteredCacheCount,
                                        int allCachesCount,
                                        int enabledCacheCount)

getCacheManagerModel

protected CacheManagerModel getCacheManagerModel()

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

statisticsEnabled

public void statisticsEnabled()
Specified by:
statisticsEnabled in interface CacheManagerModelListener

cachesEnabled

public void cachesEnabled()
Specified by:
cachesEnabled in interface CacheManagerModelListener

tearDown

public void tearDown()
Overrides:
tearDown in class BaseClusterModelPanel


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.