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