| Package | Description |
|---|---|
| com.mysql.cj | |
| com.mysql.cj.interceptors | |
| com.mysql.cj.jdbc | |
| com.mysql.cj.jdbc.ha | |
| com.mysql.cj.jdbc.interceptors | |
| com.mysql.cj.protocol | |
| testsuite | |
| testsuite.regression | |
| testsuite.simple |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
NoSubInterceptorWrapper.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
QueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log)
Called once per connection that wants to use the interceptor
The properties are the same ones passed in in the URL or arguments to
Driver.connect() or DriverManager.getConnection().
|
| 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 | Field and Description |
|---|---|
private static java.lang.ref.ReferenceQueue<MysqlConnection> |
AbandonedConnectionCleanupThread.referenceQueue |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
AbandonedConnectionCleanupThread.trackConnection(MysqlConnection conn,
NetworkResources io)
Tracks the finalization of a
MysqlConnection object and keeps a reference to its NetworkResources so that they can be later released. |
| Constructor and Description |
|---|
ConnectionFinalizerPhantomReference(MysqlConnection conn,
NetworkResources networkResources,
java.lang.ref.ReferenceQueue<? super MysqlConnection> refQueue) |
| Constructor and Description |
|---|
ConnectionFinalizerPhantomReference(MysqlConnection conn,
NetworkResources networkResources,
java.lang.ref.ReferenceQueue<? super MysqlConnection> refQueue) |
| 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 | Method and Description |
|---|---|
QueryInterceptor |
LoadBalancedAutoCommitInterceptor.init(MysqlConnection connection,
java.util.Properties props,
Log log) |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
SessionAssociationInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
ResultSetScannerInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
ServerStatusDiffInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log l) |
ConnectionLifecycleInterceptor |
ConnectionLifecycleInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log)
Called once per connection that wants to use the extension
The properties are the same ones passed in in the URL or arguments to
Driver.connect() or DriverManager.getConnection().
|
| Modifier and Type | Method and Description |
|---|---|
MysqlConnection |
ResultsetRowsOwner.getConnection() |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
BaseQueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
CharsetRegressionTest.TestBug64205QueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
CharsetRegressionTest.TestSetNamesQueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
ConnectionRegressionTest.Bug75168QueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
ConnectionRegressionTest.Bug56100QueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionLifecycleInterceptor |
TestLifecycleInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |