Class KahaCommitCommand

java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
org.apache.activemq.store.kahadb.data.KahaCommitCommand
All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaCommitCommand>, JournalCommand<KahaCommitCommand>

public final class KahaCommitCommand extends org.apache.activemq.protobuf.BaseMessage<T> implements JournalCommand<KahaCommitCommand>
  • Constructor Details

    • KahaCommitCommand

      public KahaCommitCommand()
  • Method Details

    • missingFields

      public ArrayList<String> missingFields()
      Overrides:
      missingFields in class org.apache.activemq.protobuf.BaseMessage<KahaCommitCommand>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.activemq.protobuf.Message<KahaCommitCommand>
      Overrides:
      clear in class org.apache.activemq.protobuf.BaseMessage<KahaCommitCommand>
    • clone

      public KahaCommitCommand clone()
      Specified by:
      clone in interface org.apache.activemq.protobuf.Message<KahaCommitCommand>
      Specified by:
      clone in class org.apache.activemq.protobuf.BaseMessage<KahaCommitCommand>
    • mergeFrom

      public KahaCommitCommand mergeFrom(KahaCommitCommand other)
      Specified by:
      mergeFrom in interface org.apache.activemq.protobuf.Message<KahaCommitCommand>
      Overrides:
      mergeFrom in class org.apache.activemq.protobuf.BaseMessage<KahaCommitCommand>
    • serializedSizeUnframed

      public int serializedSizeUnframed()
      Specified by:
      serializedSizeUnframed in interface org.apache.activemq.protobuf.Message<KahaCommitCommand>
    • mergeUnframed

      public KahaCommitCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws IOException
      Specified by:
      mergeUnframed in interface org.apache.activemq.protobuf.Message<KahaCommitCommand>
      Throws:
      IOException
    • writeUnframed

      public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeUnframed in interface org.apache.activemq.protobuf.Message<KahaCommitCommand>
      Overrides:
      writeUnframed in class org.apache.activemq.protobuf.BaseMessage<KahaCommitCommand>
      Throws:
      IOException
    • parseUnframed

      public static KahaCommitCommand parseUnframed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
      Throws:
      org.apache.activemq.protobuf.InvalidProtocolBufferException
      IOException
    • parseUnframed

      public static KahaCommitCommand parseUnframed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.activemq.protobuf.InvalidProtocolBufferException
    • parseUnframed

      public static KahaCommitCommand parseUnframed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.activemq.protobuf.InvalidProtocolBufferException
    • parseUnframed

      public static KahaCommitCommand parseUnframed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
      Throws:
      org.apache.activemq.protobuf.InvalidProtocolBufferException
      IOException
    • parseFramed

      public static KahaCommitCommand parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
      Throws:
      org.apache.activemq.protobuf.InvalidProtocolBufferException
      IOException
    • parseFramed

      public static KahaCommitCommand parseFramed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.activemq.protobuf.InvalidProtocolBufferException
    • parseFramed

      public static KahaCommitCommand parseFramed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.activemq.protobuf.InvalidProtocolBufferException
    • parseFramed

      public static KahaCommitCommand parseFramed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
      Throws:
      org.apache.activemq.protobuf.InvalidProtocolBufferException
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public StringBuilder toString(StringBuilder sb, String prefix)
    • visit

      public void visit(Visitor visitor) throws IOException
      Specified by:
      visit in interface JournalCommand<KahaCommitCommand>
      Throws:
      IOException
    • type

      public KahaEntryType type()
      Specified by:
      type in interface JournalCommand<KahaCommitCommand>
    • equals

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

      public boolean equals(KahaCommitCommand obj)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • hasTransactionInfo

      public boolean hasTransactionInfo()
    • getTransactionInfo

      public KahaTransactionInfo getTransactionInfo()
    • setTransactionInfo

      public KahaCommitCommand setTransactionInfo(KahaTransactionInfo transactionInfo)
    • clearTransactionInfo

      public void clearTransactionInfo()