Documentation Home
MySQL NDB Cluster API Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 3.7Mb
PDF (A4) - 3.7Mb


4.3.1.13 Connection

Connection represents a shared cluster connection from the global connection pool.

4.3.1.13.1 Synopsis
 public interface Connection {
// Public Methods  public abstract State currentState();
  public abstract int nodeId();
  public abstract String systemName();
}
4.3.1.13.2 currentState()
public abstract State currentState();

Currect state of this connection

4.3.1.13.3 nodeId()
public abstract int nodeId();

Node id of this connection.

4.3.1.13.4 systemName()
public abstract String systemName();

System Name of the connected cluster.