| Package | Description |
|---|---|
| com.mysql.cj | |
| com.mysql.cj.jdbc | |
| com.mysql.cj.jdbc.ha | |
| com.mysql.cj.protocol | |
| com.mysql.cj.protocol.a | |
| com.mysql.cj.protocol.x |
| Modifier and Type | Method and Description |
|---|---|
void |
NativeSession.connect(HostInfo hi,
java.lang.String user,
java.lang.String password,
java.lang.String database,
int loginTimeout,
TransactionEventHandler transactionManager) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
JdbcConnection
This interface contains methods that are considered the "vendor extension" to the JDBC API for MySQL's implementation of java.sql.Connection.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectionImpl
A Connection represents a session with a specific database.
|
class |
ConnectionWrapper
This class serves as a wrapper for the connection object.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LoadBalancedConnection |
interface |
ReplicationConnection |
| Modifier and Type | Class and Description |
|---|---|
class |
LoadBalancedMySQLConnection |
class |
MultiHostMySQLConnection
Each instance of MultiHostMySQLConnection is coupled with a MultiHostConnectionProxy instance.
|
class |
ReplicationMySQLConnection |
| Modifier and Type | Field and Description |
|---|---|
protected TransactionEventHandler |
AbstractProtocol.transactionManager |
| Modifier and Type | Method and Description |
|---|---|
void |
Protocol.init(Session session,
SocketConnection socketConnection,
PropertySet propertySet,
TransactionEventHandler transactionManager)
Init method takes the place of constructor.
|
void |
AbstractProtocol.init(Session sess,
SocketConnection phConnection,
PropertySet propSet,
TransactionEventHandler trManager) |
| Modifier and Type | Method and Description |
|---|---|
static NativeProtocol |
NativeProtocol.getInstance(Session session,
SocketConnection socketConnection,
PropertySet propertySet,
Log log,
TransactionEventHandler transactionManager) |
void |
NativeProtocol.init(Session sess,
SocketConnection phConnection,
PropertySet propSet,
TransactionEventHandler trManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
XProtocol.init(Session sess,
SocketConnection socketConn,
PropertySet propSet,
TransactionEventHandler trManager) |