程序包 com.mysql.cj

接口 MysqlConnection

    • 方法详细资料

      • createNewIO

        void createNewIO​(boolean isForReconnect)
        Creates an IO channel to the server.
        参数:
        isForReconnect - is this request for a re-connect
      • getId

        long getId()
      • getProperties

        Properties getProperties()
        Returns the parsed and passed in properties for this connection.
        返回:
        Properties
      • getConnectionMutex

        Object getConnectionMutex()
      • checkClosed

        void checkClosed()
      • normalClose

        void normalClose()
      • cleanup

        void cleanup​(Throwable whyCleanedUp)
        Destroys this connection and any underlying resources.
        参数:
        whyCleanedUp - exception caused the connection clean up