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, match
public Protocol.Heartbeat(long masterNow, long currentTxnEndVLSN)
public Protocol.Heartbeat(java.nio.ByteBuffer buffer)
public BinaryProtocol.MessageOp getOp()
getOp
in class BinaryProtocol.Message
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public long getMasterNow()
public long getCurrentTxnEndVLSN()
public java.lang.String toString()
toString
in class BinaryProtocol.Message
Copyright (c) 2004-2012 Oracle. All rights reserved.