org.terracotta.modules.ehcache.presentation.model
Class EhcacheModel
java.lang.Object
org.terracotta.modules.ehcache.presentation.model.EhcacheModel
- All Implemented Interfaces:
- EventListener, NotificationListener
public class EhcacheModel
- extends Object
- implements NotificationListener
|
Constructor Summary |
EhcacheModel(IClusterModel clusterModel)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhcacheModel
public EhcacheModel(IClusterModel clusterModel)
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.