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>
-
Field Summary
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclone()booleanbooleanequals(KahaCommitCommand obj) inthashCode()booleanmergeFrom(KahaCommitCommand other) mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) static KahaCommitCommandparseFramed(byte[] data) static KahaCommitCommandparseFramed(InputStream data) static KahaCommitCommandparseFramed(org.apache.activemq.protobuf.Buffer data) static KahaCommitCommandparseFramed(org.apache.activemq.protobuf.CodedInputStream data) static KahaCommitCommandparseUnframed(byte[] data) static KahaCommitCommandparseUnframed(InputStream data) static KahaCommitCommandparseUnframed(org.apache.activemq.protobuf.Buffer data) static KahaCommitCommandparseUnframed(org.apache.activemq.protobuf.CodedInputStream data) intsetTransactionInfo(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
-
KahaCommitCommand
public KahaCommitCommand()
-
-
Method Details
-
missingFields
- Overrides:
missingFieldsin classorg.apache.activemq.protobuf.BaseMessage<KahaCommitCommand>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.activemq.protobuf.Message<KahaCommitCommand>- Overrides:
clearin classorg.apache.activemq.protobuf.BaseMessage<KahaCommitCommand>
-
clone
- Specified by:
clonein interfaceorg.apache.activemq.protobuf.Message<KahaCommitCommand>- Specified by:
clonein classorg.apache.activemq.protobuf.BaseMessage<KahaCommitCommand>
-
mergeFrom
- Specified by:
mergeFromin interfaceorg.apache.activemq.protobuf.Message<KahaCommitCommand>- Overrides:
mergeFromin classorg.apache.activemq.protobuf.BaseMessage<KahaCommitCommand>
-
serializedSizeUnframed
public int serializedSizeUnframed()- Specified by:
serializedSizeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaCommitCommand>
-
mergeUnframed
public KahaCommitCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws IOException - Specified by:
mergeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaCommitCommand>- Throws:
IOException
-
writeUnframed
- Specified by:
writeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaCommitCommand>- Overrides:
writeUnframedin classorg.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.InvalidProtocolBufferExceptionIOException
-
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.InvalidProtocolBufferExceptionIOException
-
parseFramed
public static KahaCommitCommand parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
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.InvalidProtocolBufferExceptionIOException
-
toString
-
toString
-
visit
- Specified by:
visitin interfaceJournalCommand<KahaCommitCommand>- Throws:
IOException
-
type
- Specified by:
typein interfaceJournalCommand<KahaCommitCommand>
-
equals
-
equals
-
hashCode
public int hashCode() -
hasTransactionInfo
public boolean hasTransactionInfo() -
getTransactionInfo
-
setTransactionInfo
-
clearTransactionInfo
public void clearTransactionInfo()
-