public class StandardPacketOutputStream extends AbstractPacketOutputStream
buf, charset, cmdLength, enableNetworkStatistics, maxAllowedPacket, maxPacketLength, maxQuerySizeToLog, mysqlSeqNo, permitTrace, pos, serverThreadLog, threadId, timestampBeforeFlush, traceCacheout| 构造器和说明 |
|---|
StandardPacketOutputStream(OutputStream out,
long threadId,
Options options,
TimeTrace timeTrace) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
flushBuffer(boolean commandEnd)
Flush the internal buffer.
|
int |
initialPacketPos() |
void |
setMaxAllowedPacket(int maxAllowedPacket) |
void |
startPacket(int seqNo) |
void |
writeEmptyPacket()
Write an empty com.
|
bufferIsDataAfterMark, checkMaxAllowedLength, checkRemainingSize, clearNetworkStatistics, doFlush, enableNetworkStatistics, endSendRequest, exceedMaxLength, flush, flushBufferStopAtMark, flushLoadDataLocalFile, getCharset, getMaxAllowedPacket, getMaxPacketLength, getOutputStream, getPosition, getTimestampBeforeFlush, getTimeZone, isEncloseParamInParentheses, isMarked, isOracleMode, mark, permitTrace, resetMark, setOracleMode, setPosition, setServerThreadId, setTimeZone, setTraceCache, startSendRequest, write, write, write, write, write, write, write, write, write, writeBytes, writeBytesEscaped, writeBytesEscapedQuote, writeEmptyPacket, writeEscapeQuote, writeEscapeQuote, writeFieldLength, writeFloatV1, writeHex, writeHex, writeInt, writeIntV1, writeLong, writeLongV1, writeShortcloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic StandardPacketOutputStream(OutputStream out, long threadId, Options options, TimeTrace timeTrace)
public void startPacket(int seqNo)
startPacket 在接口中 PacketOutputStreamstartPacket 在类中 AbstractPacketOutputStreampublic void setMaxAllowedPacket(int maxAllowedPacket)
setMaxAllowedPacket 在接口中 PacketOutputStreamsetMaxAllowedPacket 在类中 AbstractPacketOutputStreampublic int initialPacketPos()
protected void flushBuffer(boolean commandEnd)
throws IOException
flushBuffer 在类中 AbstractPacketOutputStreamcommandEnd - command endIOException - id connection error occur.public void writeEmptyPacket()
throws IOException
writeEmptyPacket 在接口中 PacketOutputStreamwriteEmptyPacket 在类中 AbstractPacketOutputStreamIOException - if socket error occur.Copyright © 2024 oceanbase.com. All rights reserved.