#include <ndb_cluster_connection.hpp>
Any NDB application program should begin with the creation of a single Ndb_cluster_connection object, and should make use of one and only one Ndb_cluster_connection. The application connects to a cluster management server when this object's connect() method is called. By using the wait_until_ready() method it is possible to wait for the connection to reach one or more storage nodes.
|
Create a connection to a cluster of storage nodes
|
|
Connect to a cluster management server
|
|
Wait until the requested connection with one or more storage nodes is successful
|