public class TraceObject extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPRESSED_PROTOCOL_COMPRESSED_PACKET |
static int |
COMPRESSED_PROTOCOL_NOT_COMPRESSED_PACKET |
static int |
NOT_COMPRESSED |
| Constructor and Description |
|---|
TraceObject(boolean send,
int indicatorFlag,
byte[]... buf)
Permit to store MariaDB packets.
|
| Modifier and Type | Method and Description |
|---|---|
byte[][] |
getBuf() |
int |
getIndicatorFlag() |
boolean |
isSend() |
void |
remove()
Clear trace array for easy garbage.
|
public static final int NOT_COMPRESSED
public static final int COMPRESSED_PROTOCOL_COMPRESSED_PACKET
public static final int COMPRESSED_PROTOCOL_NOT_COMPRESSED_PACKET
public TraceObject(boolean send,
int indicatorFlag,
byte[]... buf)
send - was packet send or receivedindicatorFlag - indicator. can be NOT_COMPRESSED, COMPRESSED_PROTOCOL_COMPRESSED_PACKET or
COMPRESSED_PROTOCOL_NOT_COMPRESSED_PACKETbuf - buffersCopyright © 2019 mariadb.org. All rights reserved.