org.terracotta.modules.ehcache.event
Class TerracottaTopologyImpl
java.lang.Object
org.terracotta.modules.ehcache.event.TerracottaTopologyImpl
- All Implemented Interfaces:
- CacheCluster
public class TerracottaTopologyImpl
- extends Object
- implements CacheCluster
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TerracottaTopologyImpl
public TerracottaTopologyImpl(org.terracotta.toolkit.cluster.ClusterInfo clusterInfo)
getScheme
public ClusterScheme getScheme()
- Specified by:
getScheme in interface CacheCluster
getCurrentNode
public ClusterNode getCurrentNode()
- Specified by:
getCurrentNode in interface CacheCluster
waitUntilNodeJoinsCluster
public ClusterNode waitUntilNodeJoinsCluster()
- Specified by:
waitUntilNodeJoinsCluster in interface CacheCluster
getNodes
public Collection<ClusterNode> getNodes()
- Specified by:
getNodes in interface CacheCluster
isClusterOnline
public boolean isClusterOnline()
- Specified by:
isClusterOnline in interface CacheCluster
addTopologyListener
public boolean addTopologyListener(ClusterTopologyListener listener)
- Specified by:
addTopologyListener in interface CacheCluster
removeTopologyListener
public boolean removeTopologyListener(ClusterTopologyListener listener)
- Specified by:
removeTopologyListener in interface CacheCluster
getTopologyListeners
public List<ClusterTopologyListener> getTopologyListeners()
- Specified by:
getTopologyListeners in interface CacheCluster
removeAllListeners
public void removeAllListeners()
- Specified by:
removeAllListeners in interface CacheCluster
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.