org.apache.activemq.store.kahadb.data
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>
Fields inherited from class org.apache.activemq.protobuf.BaseMessage |
memoizedSerializedSize |
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, writeUnframed |
Methods inherited from interface org.apache.activemq.protobuf.Message |
assertInitialized, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeUnframed |
KahaPrepareCommand
public KahaPrepareCommand()
missingFields
public ArrayList<String> missingFields()
- Overrides:
missingFields
in class org.apache.activemq.protobuf.BaseMessage<KahaPrepareCommand>
clear
public void clear()
- Specified by:
clear
in interface org.apache.activemq.protobuf.Message<KahaPrepareCommand>
- Overrides:
clear
in class org.apache.activemq.protobuf.BaseMessage<KahaPrepareCommand>
clone
public KahaPrepareCommand clone()
- Specified by:
clone
in interface org.apache.activemq.protobuf.Message<KahaPrepareCommand>
- Specified by:
clone
in class org.apache.activemq.protobuf.BaseMessage<KahaPrepareCommand>
mergeFrom
public KahaPrepareCommand mergeFrom(KahaPrepareCommand other)
- Specified by:
mergeFrom
in interface org.apache.activemq.protobuf.Message<KahaPrepareCommand>
- Overrides:
mergeFrom
in class org.apache.activemq.protobuf.BaseMessage<KahaPrepareCommand>
serializedSizeUnframed
public int serializedSizeUnframed()
- Specified by:
serializedSizeUnframed
in interface org.apache.activemq.protobuf.Message<KahaPrepareCommand>
mergeUnframed
public KahaPrepareCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
throws IOException
- Specified by:
mergeUnframed
in interface org.apache.activemq.protobuf.Message<KahaPrepareCommand>
- Throws:
IOException
writeUnframed
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeUnframed
in interface org.apache.activemq.protobuf.Message<KahaPrepareCommand>
- Overrides:
writeUnframed
in class org.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.InvalidProtocolBufferException
IOException
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.InvalidProtocolBufferException
IOException
parseFramed
public static KahaPrepareCommand parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
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.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<KahaPrepareCommand>
- Throws:
IOException
type
public KahaEntryType type()
- Specified by:
type
in interface JournalCommand<KahaPrepareCommand>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
equals
public boolean equals(KahaPrepareCommand obj)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
hasTransactionInfo
public boolean hasTransactionInfo()
getTransactionInfo
public KahaTransactionInfo getTransactionInfo()
setTransactionInfo
public T setTransactionInfo(KahaTransactionInfo transactionInfo)
clearTransactionInfo
public void clearTransactionInfo()
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.