public class ReadyForQueryDecoder extends java.lang.Object implements Decoder<ReadyForQuery>
ReadyForQuery (B)
Byte1('Z')
Identifies the message type. ReadyForQuery is sent whenever the backend is ready for a new query cycle.
Int32(5)
Length of message contents in bytes, including self.
Byte1
Current backend transaction status indicator. Possible values are 'I' if idle (not in a transaction block); 'T' if in a transaction block; or 'E' if in a failed transaction block (queries will be rejected until block is ended).
| Constructor and Description |
|---|
ReadyForQueryDecoder() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getMessageId() |
ReadyForQuery |
read(java.nio.ByteBuffer buffer) |
public ReadyForQuery read(java.nio.ByteBuffer buffer)
read in interface Decoder<ReadyForQuery>public byte getMessageId()
getMessageId in interface Decoder<ReadyForQuery>Copyright © 2014. All Rights Reserved.