Class KahaSubscriptionCommand

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

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

    • KahaSubscriptionCommand

      public KahaSubscriptionCommand()
  • Method Details

    • missingFields

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

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

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

      Specified by:
      mergeFrom in interface org.apache.activemq.protobuf.Message<KahaSubscriptionCommand>
      Overrides:
      mergeFrom in class org.apache.activemq.protobuf.BaseMessage<KahaSubscriptionCommand>
    • serializedSizeUnframed

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

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

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

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

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

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

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

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

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

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

      public static KahaSubscriptionCommand 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<KahaSubscriptionCommand>
      Throws:
      IOException
    • type

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

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

      public boolean equals(KahaSubscriptionCommand obj)
    • hashCode

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

      public boolean hasDestination()
    • getDestination

      public KahaDestination getDestination()
    • setDestination

      public KahaSubscriptionCommand setDestination(KahaDestination destination)
    • clearDestination

      public void clearDestination()
    • hasSubscriptionKey

      public boolean hasSubscriptionKey()
    • getSubscriptionKey

      public String getSubscriptionKey()
    • setSubscriptionKey

      public KahaSubscriptionCommand setSubscriptionKey(String subscriptionKey)
    • clearSubscriptionKey

      public void clearSubscriptionKey()
    • hasRetroactive

      public boolean hasRetroactive()
    • getRetroactive

      public boolean getRetroactive()
    • setRetroactive

      public KahaSubscriptionCommand setRetroactive(boolean retroactive)
    • clearRetroactive

      public void clearRetroactive()
    • hasSubscriptionInfo

      public boolean hasSubscriptionInfo()
    • getSubscriptionInfo

      public org.apache.activemq.protobuf.Buffer getSubscriptionInfo()
    • setSubscriptionInfo

      public KahaSubscriptionCommand setSubscriptionInfo(org.apache.activemq.protobuf.Buffer subscriptionInfo)
    • clearSubscriptionInfo

      public void clearSubscriptionInfo()