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.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.