org.terracotta.modules.ehcache.presentation.model
Class EhcacheModel

java.lang.Object
  extended by org.terracotta.modules.ehcache.presentation.model.EhcacheModel
All Implemented Interfaces:
EventListener, NotificationListener

public class EhcacheModel
extends Object
implements NotificationListener


Constructor Summary
EhcacheModel(IClusterModel clusterModel)
           
 
Method Summary
 void addEhcacheModelListener(EhcacheModelListener listener)
           
protected  void fireCacheManagerAdded(CacheManagerModel cacheManagerModel)
           
protected  void fireCacheManagerRemoved(CacheManagerModel cacheManagerModel)
           
 IServer getActiveCoordinator()
           
 CacheManagerModel getCacheManagerModel(String cacheManagerName)
           
 String[] getCacheManagerNames()
           
 IClusterModel getClusterModel()
           
 void handleNotification(Notification notif, Object data)
           
 CacheManagerModel removeCacheManagerModel(String cacheManagerName)
           
 void removeEhcacheModelListener(EhcacheModelListener listener)
           
 void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhcacheModel

public EhcacheModel(IClusterModel clusterModel)
Method Detail

getCacheManagerNames

public String[] getCacheManagerNames()

getClusterModel

public IClusterModel getClusterModel()

getActiveCoordinator

public IServer getActiveCoordinator()

getCacheManagerModel

public CacheManagerModel getCacheManagerModel(String cacheManagerName)

removeCacheManagerModel

public CacheManagerModel removeCacheManagerModel(String cacheManagerName)

handleNotification

public void handleNotification(Notification notif,
                               Object data)
Specified by:
handleNotification in interface NotificationListener

addEhcacheModelListener

public void addEhcacheModelListener(EhcacheModelListener listener)

removeEhcacheModelListener

public void removeEhcacheModelListener(EhcacheModelListener listener)

fireCacheManagerAdded

protected void fireCacheManagerAdded(CacheManagerModel cacheManagerModel)

fireCacheManagerRemoved

protected void fireCacheManagerRemoved(CacheManagerModel cacheManagerModel)

tearDown

public void tearDown()


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