Logo Search packages:      
Sourcecode: mysql-connector-java version File versions  Download package

Buffer com::mysql::jdbc::MysqlIO::getSharedSendPacket (  )  [inline, package]

Returns the packet used for sending data (used by PreparedStatement) Guarded by external synchronization on a mutex.

Returns:
A packet to send data with

Definition at line 1626 of file MysqlIO.java.

Referenced by com::mysql::jdbc::PreparedStatement::fillSendPacket(), com::mysql::jdbc::ServerPreparedStatement::realClose(), com::mysql::jdbc::ServerPreparedStatement::serverExecute(), and com::mysql::jdbc::ServerPreparedStatement::serverLongData().

                                 {
        if (this.sharedSendPacket == null) {
            this.sharedSendPacket = new Buffer(INITIAL_PACKET_SIZE);
        }

        return this.sharedSendPacket;
    }


Generated by  Doxygen 1.6.0   Back to index