Class ReplicationPrepareMessage

java.lang.Object
org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ReplicationPrepareMessage
All Implemented Interfaces:
Packet

public final class ReplicationPrepareMessage extends PacketImpl
  • Constructor Details

    • ReplicationPrepareMessage

      public ReplicationPrepareMessage()
    • ReplicationPrepareMessage

      public ReplicationPrepareMessage(byte journalID, long txId, EncodingSupport encodingData)
  • Method Details

    • expectedEncodeSize

      public int expectedEncodeSize()
      Description copied from interface: Packet
      This will return the expected packet size for the encoding
    • encodeRest

      public void encodeRest(ActiveMQBuffer buffer)
      Overrides:
      encodeRest in class PacketImpl
    • decodeRest

      public void decodeRest(ActiveMQBuffer buffer)
      Overrides:
      decodeRest in class PacketImpl
    • getTxId

      public long getTxId()
    • getJournalID

      public byte getJournalID()
    • getRecordData

      public byte[] getRecordData()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PacketImpl
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class PacketImpl