com.sleepycat.je.rep.stream
Class Protocol.Commit
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.stream.Protocol.Entry
com.sleepycat.je.rep.stream.Protocol.Commit
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Enclosing class:
- Protocol
public class Protocol.Commit
- extends Protocol.Entry
Protocol.Commit
public Protocol.Commit()
Protocol.Commit
public Protocol.Commit(boolean needsAck,
Durability.SyncPolicy replicaSyncPolicy,
OutputWireRecord wireRecord)
Protocol.Commit
public Protocol.Commit(ByteBuffer buffer)
throws DatabaseException
- Throws:
DatabaseException
getOp
public BinaryProtocol.MessageOp getOp()
- Overrides:
getOp
in class Protocol.Entry
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 Protocol.Entry
getNeedsAck
public boolean getNeedsAck()
getReplicaSyncPolicy
public Durability.SyncPolicy getReplicaSyncPolicy()
Copyright (c) 2004-2012 Oracle. All rights reserved.