org.terracotta.cluster
Interface ClusterTopology

All Known Implementing Classes:
TerracottaClusterTopology

public interface ClusterTopology

Provides access to the topology of the cluster, viewed from the current node.

This only takes client nodes into account, Terracotta server nodes are not included in this topology view.


Method Summary
 Collection<ClusterNode> getNodes()
          Returns a collection that contains a snapshot of the nodes that are part of the cluster at the time of the method call.
 

Method Detail

getNodes

Collection<ClusterNode> getNodes()
Returns a collection that contains a snapshot of the nodes that are part of the cluster at the time of the method call.

Returns:
the snapshot of the nodes in the cluster


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