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

public class ReplicationAddTXMessage extends PacketImpl
  • Constructor Details

    • ReplicationAddTXMessage

      public ReplicationAddTXMessage(boolean beforeTwoEighteen)
    • ReplicationAddTXMessage

      public ReplicationAddTXMessage(boolean beforeTwoEighteen, byte journalID, ReplicationManager.ADD_OPERATION_TYPE operation, long txId, long id, byte recordType, Persister persister, Object 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
    • getId

      public long getId()
      Returns:
      the id
    • getTxId

      public long getTxId()
    • getJournalID

      public byte getJournalID()
    • getOperation

    • getRecordType

      public byte getRecordType()
    • getRecordData

      public byte[] getRecordData()
    • hashCode

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

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