me.prettyprint.cassandra.connection
Class NodeDiscovery

java.lang.Object
  extended by me.prettyprint.cassandra.connection.NodeDiscovery

public class NodeDiscovery
extends Object


Constructor Summary
NodeDiscovery(CassandraHostConfigurator cassandraHostConfigurator, HConnectionManager connectionManager)
           
 
Method Summary
 Set<CassandraHost> discoverNodes()
          Find any unknown nodes in the cassandra ring
 void doAddNodes()
          Find any nodes that are not already in the connection manager but are in the cassandra ring and add them
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeDiscovery

public NodeDiscovery(CassandraHostConfigurator cassandraHostConfigurator,
                     HConnectionManager connectionManager)
Method Detail

doAddNodes

public void doAddNodes()
Find any nodes that are not already in the connection manager but are in the cassandra ring and add them


discoverNodes

public Set<CassandraHost> discoverNodes()
Find any unknown nodes in the cassandra ring



Copyright © 2013. All Rights Reserved.