接口的使用
com.mysql.cj.log.Log
-
-
com.mysql.cj中Log的使用
声明为Log的com.mysql.cj中的字段 修饰符和类型 字段 说明 protected LogCoreSession. logThe logger we're going to useprotected static LogCoreSession. NULL_LOGGERNull logger shared by all connections at startup返回Log的com.mysql.cj中的方法 修饰符和类型 方法 说明 LogCoreSession. getLog()LogSession. getLog()Returns the log mechanism that should be used to log information from/for this Session.参数类型为Log的com.mysql.cj中的方法 修饰符和类型 方法 说明 QueryInterceptorNoSubInterceptorWrapper. init(MysqlConnection conn, Properties props, Log log) -
com.mysql.cj.exceptions中Log的使用
参数类型为Log的com.mysql.cj.exceptions中的方法 修饰符和类型 方法 说明 ExceptionInterceptorExceptionInterceptor. init(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().ExceptionInterceptorExceptionInterceptorChain. init(Properties properties, Log log)参数类型为Log的com.mysql.cj.exceptions中的构造器 构造器 说明 ExceptionInterceptorChain(String interceptorClasses, Properties props, Log log) -
com.mysql.cj.interceptors中Log的使用
参数类型为Log的com.mysql.cj.interceptors中的方法 修饰符和类型 方法 说明 QueryInterceptorQueryInterceptor. init(MysqlConnection conn, 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(). -
com.mysql.cj.jdbc.ha中Log的使用
参数类型为Log的com.mysql.cj.jdbc.ha中的方法 修饰符和类型 方法 说明 QueryInterceptorLoadBalancedAutoCommitInterceptor. init(MysqlConnection connection, Properties props, Log log) -
com.mysql.cj.jdbc.interceptors中Log的使用
参数类型为Log的com.mysql.cj.jdbc.interceptors中的方法 修饰符和类型 方法 说明 ConnectionLifecycleInterceptorConnectionLifecycleInterceptor. init(MysqlConnection conn, 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().QueryInterceptorResultSetScannerInterceptor. init(MysqlConnection conn, Properties props, Log log)QueryInterceptorServerStatusDiffInterceptor. init(MysqlConnection conn, Properties props, Log l)QueryInterceptorSessionAssociationInterceptor. init(MysqlConnection conn, Properties props, Log log) -
com.mysql.cj.log中Log的使用
实现Log的com.mysql.cj.log中的类 修饰符和类型 类 说明 classJdk14LoggerLogging functionality for JDK1.4classNullLoggerA logger that does nothing.classSlf4JLoggerclassStandardLoggerProvides logging facilities for those platforms that don't have built-in facilities.返回Log的com.mysql.cj.log中的方法 修饰符和类型 方法 说明 static LogLogFactory. getLogger(String className, String instanceName)Returns a logger instance of the given class, with the given instance name.参数类型为Log的com.mysql.cj.log中的方法 修饰符和类型 方法 说明 voidLoggingProfilerEventHandler. init(Log log)voidProfilerEventHandler. init(Log log)voidBaseMetricsHolder. reportMetrics(Log log) -
com.mysql.cj.protocol中Log的使用
声明为Log的com.mysql.cj.protocol中的字段 修饰符和类型 字段 说明 protected LogAbstractProtocol. logThe logger we're going to useprotected LogReadAheadInputStream. log参数类型为Log的com.mysql.cj.protocol中的方法 修饰符和类型 方法 说明 voidSocketConnection. connect(String host, int port, PropertySet propertySet, ExceptionInterceptor exceptionInterceptor, Log log, int loginTimeout)Connect to the MySQL server and setup a stream connection.static SocketExportControlled. performTlsHandshake(Socket rawSocket, SocketConnection socketConnection, ServerVersion serverVersion, Log log)Converts the socket being used in the given SocketConnection to an SSLSocket by performing the SSL/TLS handshake.<T extends Closeable>
TNamedPipeSocketFactory. performTlsHandshake(SocketConnection socketConnection, ServerSession serverSession, Log log)default voidSocketConnection. performTlsHandshake(ServerSession serverSession, Log log)Start a TLS handshakedefault <T extends Closeable>
TSocketFactory. performTlsHandshake(SocketConnection socketConnection, ServerSession serverSession, Log log)If required, called by the driver during MySQL protocol handshake to transform original socket to SSL socket and perform TLS handshake.<T extends Closeable>
TStandardSocketFactory. performTlsHandshake(SocketConnection socketConnection, ServerSession serverSession, Log log)参数类型为Log的com.mysql.cj.protocol中的构造器 构造器 说明 ReadAheadInputStream(InputStream toBuffer, boolean debug, Log logTo)ReadAheadInputStream(InputStream toBuffer, int bufferSize, boolean debug, Log logTo) -
com.mysql.cj.protocol.a中Log的使用
参数类型为Log的com.mysql.cj.protocol.a中的方法 修饰符和类型 方法 说明 voidNativeSocketConnection. connect(String hostName, int portNumber, PropertySet propSet, ExceptionInterceptor excInterceptor, Log log, int loginTimeout)static NativeProtocolNativeProtocol. getInstance(Session session, SocketConnection socketConnection, PropertySet propertySet, Log log, TransactionEventHandler transactionManager)voidNativeSocketConnection. performTlsHandshake(ServerSession serverSession, Log log)参数类型为Log的com.mysql.cj.protocol.a中的构造器 构造器 说明 CompressedInputStream(InputStream streamFromServer, RuntimeProperty<Boolean> traceProtocol, Log log)Creates a new CompressedInputStream that reads the given stream from the server.NativeProtocol(Log logger)TracingPacketReader(MessageReader<NativePacketHeader,NativePacketPayload> packetReader, Log log)TracingPacketSender(MessageSender<NativePacketPayload> packetSender, Log log, String host, long serverThreadId) -
com.mysql.jdbc中Log的使用
参数类型为Log的com.mysql.jdbc中的方法 修饰符和类型 方法 说明 <T extends Closeable>
TSocketFactoryWrapper. performTlsHandshake(SocketConnection socketConnection, ServerSession serverSession, Log log)
-