Class ReplicationCommitMessage

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

public final class ReplicationCommitMessage extends PacketImpl
  • Constructor Details

    • ReplicationCommitMessage

      public ReplicationCommitMessage()
    • ReplicationCommitMessage

      public ReplicationCommitMessage(byte journalID, boolean rollback, long txId)
  • 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
    • isRollback

      public boolean isRollback()
    • getTxId

      public long getTxId()
    • getJournalID

      public byte getJournalID()
    • hashCode

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

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

      protected String getPacketString()
      Overrides:
      getPacketString in class PacketImpl