com.sleepycat.je.rep.stream
Class Protocol.Heartbeat
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.stream.Protocol.Heartbeat
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Enclosing class:
- Protocol
public class Protocol.Heartbeat
- extends BinaryProtocol.Message
Protocol.Heartbeat
public Protocol.Heartbeat(long masterNow,
long currentTxnEndVLSN)
Protocol.Heartbeat
public Protocol.Heartbeat(ByteBuffer buffer)
getOp
public BinaryProtocol.MessageOp getOp()
- Specified by:
getOp
in class BinaryProtocol.Message
wireFormat
public ByteBuffer wireFormat()
- Description copied from class:
BinaryProtocol.Message
- The default message consists of the operation enum and just a 0
length size.
- Specified by:
wireFormat
in interface BinaryProtocol.WireFormatable
- Overrides:
wireFormat
in class BinaryProtocol.Message
getMasterNow
public long getMasterNow()
getCurrentTxnEndVLSN
public long getCurrentTxnEndVLSN()
toString
public String toString()
- Overrides:
toString
in class BinaryProtocol.Message
Copyright (c) 2004-2012 Oracle. All rights reserved.