me.prettyprint.cassandra.connection
Class NodeDiscovery
java.lang.Object
me.prettyprint.cassandra.connection.NodeDiscovery
public class NodeDiscovery
- extends Object
|
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 |
NodeDiscovery
public NodeDiscovery(CassandraHostConfigurator cassandraHostConfigurator,
HConnectionManager connectionManager)
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.