Top Methods
com.mysql.cj

public Interface MysqlConnection

Known Direct Subinterfaces
com.mysql.cj.jdbc.JdbcConnection
Imports
java.util.Properties, java.util.concurrent.locks.Lock, com.mysql.cj.conf.PropertySet, com.mysql.cj.exceptions.ExceptionInterceptor, com.mysql.cj.protocol.ServerSessionStateController

Method Summary

Modifier and TypeMethod and Description
public void
public void
cleanup(Throwable
exception caused the connection clean up
whyCleanedUp
)

Destroys this connection and any underlying resources.

public void
createNewIO(boolean
is this request for a re-connect
isForReconnect
)

Creates an IO channel to the server.

public Lock
public ExceptionInterceptor
public long
public Properties

Returns:

Properties
getProperties
()

Returns the parsed and passed in properties for this connection.

public PropertySet
public ServerSessionStateController
public Session
public String
public String

Method Detail

checkClosedback to summary
public void checkClosed()
cleanupback to summary
public void cleanup(Throwable whyCleanedUp)

Destroys this connection and any underlying resources.

Parameters
whyCleanedUp:Throwable

exception caused the connection clean up

createNewIOback to summary
public void createNewIO(boolean isForReconnect)

Creates an IO channel to the server.

Parameters
isForReconnect:boolean

is this request for a re-connect

getConnectionLockback to summary
public Lock getConnectionLock()
getExceptionInterceptorback to summary
public ExceptionInterceptor getExceptionInterceptor()
getIdback to summary
public long getId()
getPropertiesback to summary
public Properties getProperties()

Returns the parsed and passed in properties for this connection.

Returns:Properties

Properties

getPropertySetback to summary
public PropertySet getPropertySet()
getServerSessionStateControllerback to summary
public ServerSessionStateController getServerSessionStateController()
getSessionback to summary
public Session getSession()
getURLback to summary
public String getURL()
getUserback to summary
public String getUser()