Public Member Functions |
| ClusterConnectionImpl (String connectString, int nodeId) |
void | connect (int connectRetries, int connectDelay, boolean verbose) |
Db | createDb (String database, int maxTransactions) |
void | waitUntilReady (int connectTimeoutBefore, int connectTimeoutAfter) |
void | close () |
void | close (Db db) |
int | dbCount () |
Static Protected Member Functions |
static void | loadSystemLibrary (String name) |
static void | handleError (int returnCode, Ndb_cluster_connection clusterConnection, String connectString, int nodeId) |
static void | handleError (Object object, Ndb_cluster_connection clusterConnection, String connectString, int nodeId) |
static void | handleError (Ndb_cluster_connection clusterConnection, String connectString, int nodeId) |
static void | throwError (Object returnCode, Ndb_cluster_connection clusterConnection, String connectString, int nodeId) |
Detailed Description
Definition at line 38 of file ClusterConnectionImpl.java.
Constructor & Destructor Documentation
com.mysql.clusterj.tie.ClusterConnectionImpl.ClusterConnectionImpl |
( |
String |
connectString, |
|
|
int |
nodeId |
|
) |
| |
|
inline |
Connect to the MySQL Cluster
- Parameters
-
connectString | the connect string |
nodeId | the node id; node id of zero means "any node" |
Definition at line 72 of file ClusterConnectionImpl.java.
Member Data Documentation
The documentation for this class was generated from the following file: