public class Protocol.Heartbeat extends BinaryProtocol.Message
| Constructor and Description |
|---|
Protocol.Heartbeat(java.nio.ByteBuffer buffer) |
Protocol.Heartbeat(long masterNow,
long currentTxnEndVLSN) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentTxnEndVLSN() |
long |
getMasterNow() |
BinaryProtocol.MessageOp |
getOp() |
java.lang.String |
toString() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
allocateInitializedBuffer, matchpublic Protocol.Heartbeat(long masterNow,
long currentTxnEndVLSN)
public Protocol.Heartbeat(java.nio.ByteBuffer buffer)
public BinaryProtocol.MessageOp getOp()
getOp in class BinaryProtocol.Messagepublic java.nio.ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in interface BinaryProtocol.WireFormatablewireFormat in class BinaryProtocol.Messagepublic long getMasterNow()
public long getCurrentTxnEndVLSN()
public java.lang.String toString()
toString in class BinaryProtocol.MessageCopyright (c) 2004-2012 Oracle. All rights reserved.