Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Ndb_cluster_connection::get_auto_reconnect()

Description.  This method retrieves the current AutoReconnect setting for a given Ndb_cluster_connection. For more detailed information, see Section, “Ndb_cluster_connection::set_auto_reconnect()”.


int get_auto_reconnect

Parameters.  None.

Return value.  An integer value 0 or 1, corresponding to the current AutoReconnect setting in effect for for this connection. 0 forces API nodes to use new connections to the cluster, while 1 enables API nodes to re-use existing connections.