Class KahaRemoveMessageCommand
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
org.apache.activemq.store.kahadb.data.KahaRemoveMessageCommand
- All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaRemoveMessageCommand>,JournalCommand<KahaRemoveMessageCommand>
public final class KahaRemoveMessageCommand
extends org.apache.activemq.protobuf.BaseMessage<T>
implements JournalCommand<KahaRemoveMessageCommand>
-
Field Summary
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclearAck()voidvoidvoidvoidclone()booleanbooleanorg.apache.activemq.protobuf.BuffergetAck()booleanhasAck()booleaninthashCode()booleanbooleanbooleanmergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) static KahaRemoveMessageCommandparseFramed(byte[] data) static KahaRemoveMessageCommandparseFramed(InputStream data) static KahaRemoveMessageCommandparseFramed(org.apache.activemq.protobuf.Buffer data) static KahaRemoveMessageCommandparseFramed(org.apache.activemq.protobuf.CodedInputStream data) static KahaRemoveMessageCommandparseUnframed(byte[] data) static KahaRemoveMessageCommandparseUnframed(InputStream data) static KahaRemoveMessageCommandparseUnframed(org.apache.activemq.protobuf.Buffer data) static KahaRemoveMessageCommandparseUnframed(org.apache.activemq.protobuf.CodedInputStream data) intsetAck(org.apache.activemq.protobuf.Buffer ack) setDestination(KahaDestination destination) setMessageId(String messageId) setSubscriptionKey(String subscriptionKey) setTransactionInfo(KahaTransactionInfo transactionInfo) toString()toString(StringBuilder sb, String prefix) type()voidvoidwriteUnframed(org.apache.activemq.protobuf.CodedOutputStream output) Methods inherited from class org.apache.activemq.protobuf.BaseMessage
addAll, assertInitialized, checktInitialized, computeGroupSize, computeMessageSize, isInitialized, load, loadAndClear, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, prefix, readGroup, readRawByte, readRawVarint32, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeGroup, writeMessage, writeUnframedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.activemq.protobuf.Message
assertInitialized, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeUnframed
-
Constructor Details
-
KahaRemoveMessageCommand
public KahaRemoveMessageCommand()
-
-
Method Details
-
missingFields
- Overrides:
missingFieldsin classorg.apache.activemq.protobuf.BaseMessage<KahaRemoveMessageCommand>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.activemq.protobuf.Message<KahaRemoveMessageCommand>- Overrides:
clearin classorg.apache.activemq.protobuf.BaseMessage<KahaRemoveMessageCommand>
-
clone
- Specified by:
clonein interfaceorg.apache.activemq.protobuf.Message<KahaRemoveMessageCommand>- Specified by:
clonein classorg.apache.activemq.protobuf.BaseMessage<KahaRemoveMessageCommand>
-
mergeFrom
- Specified by:
mergeFromin interfaceorg.apache.activemq.protobuf.Message<KahaRemoveMessageCommand>- Overrides:
mergeFromin classorg.apache.activemq.protobuf.BaseMessage<KahaRemoveMessageCommand>
-
serializedSizeUnframed
public int serializedSizeUnframed()- Specified by:
serializedSizeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaRemoveMessageCommand>
-
mergeUnframed
public KahaRemoveMessageCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws IOException - Specified by:
mergeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaRemoveMessageCommand>- Throws:
IOException
-
writeUnframed
- Specified by:
writeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaRemoveMessageCommand>- Overrides:
writeUnframedin classorg.apache.activemq.protobuf.BaseMessage<KahaRemoveMessageCommand>- Throws:
IOException
-
parseUnframed
public static KahaRemoveMessageCommand parseUnframed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
parseUnframed
public static KahaRemoveMessageCommand parseUnframed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaRemoveMessageCommand parseUnframed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaRemoveMessageCommand parseUnframed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
parseFramed
public static KahaRemoveMessageCommand parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
parseFramed
public static KahaRemoveMessageCommand parseFramed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaRemoveMessageCommand parseFramed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaRemoveMessageCommand parseFramed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
toString
-
toString
-
visit
- Specified by:
visitin interfaceJournalCommand<KahaRemoveMessageCommand>- Throws:
IOException
-
type
- Specified by:
typein interfaceJournalCommand<KahaRemoveMessageCommand>
-
equals
-
equals
-
hashCode
public int hashCode() -
hasTransactionInfo
public boolean hasTransactionInfo() -
getTransactionInfo
-
setTransactionInfo
-
clearTransactionInfo
public void clearTransactionInfo() -
hasDestination
public boolean hasDestination() -
getDestination
-
setDestination
-
clearDestination
public void clearDestination() -
hasMessageId
public boolean hasMessageId() -
getMessageId
-
setMessageId
-
clearMessageId
public void clearMessageId() -
hasAck
public boolean hasAck() -
getAck
public org.apache.activemq.protobuf.Buffer getAck() -
setAck
-
clearAck
public void clearAck() -
hasSubscriptionKey
public boolean hasSubscriptionKey() -
getSubscriptionKey
-
setSubscriptionKey
-
clearSubscriptionKey
public void clearSubscriptionKey()
-