Class KahaLocalTransactionId
- java.lang.Object
-
- org.apache.activemq.protobuf.BaseMessage<T>
-
- org.apache.activemq.store.kahadb.data.KahaLocalTransactionId
-
- All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaLocalTransactionId>
public final class KahaLocalTransactionId extends org.apache.activemq.protobuf.BaseMessage<T>
-
-
Constructor Summary
Constructors Constructor Description KahaLocalTransactionId()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
missingFields
public ArrayList<String> missingFields()
- Overrides:
missingFields
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocalTransactionId>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.activemq.protobuf.Message<KahaLocalTransactionId>
- Overrides:
clear
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocalTransactionId>
-
clone
public KahaLocalTransactionId clone()
- Specified by:
clone
in interfaceorg.apache.activemq.protobuf.Message<KahaLocalTransactionId>
- Specified by:
clone
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocalTransactionId>
-
mergeFrom
public KahaLocalTransactionId mergeFrom(KahaLocalTransactionId other)
- Specified by:
mergeFrom
in interfaceorg.apache.activemq.protobuf.Message<KahaLocalTransactionId>
- Overrides:
mergeFrom
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocalTransactionId>
-
serializedSizeUnframed
public int serializedSizeUnframed()
-
mergeUnframed
public KahaLocalTransactionId mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
writeUnframed
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeUnframed
in interfaceorg.apache.activemq.protobuf.Message<KahaLocalTransactionId>
- Overrides:
writeUnframed
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocalTransactionId>
- Throws:
IOException
-
parseUnframed
public static KahaLocalTransactionId parseUnframed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseUnframed
public static KahaLocalTransactionId parseUnframed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaLocalTransactionId parseUnframed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaLocalTransactionId parseUnframed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseFramed
public static KahaLocalTransactionId parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseFramed
public static KahaLocalTransactionId parseFramed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaLocalTransactionId parseFramed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaLocalTransactionId parseFramed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
toString
public StringBuilder toString(StringBuilder sb, String prefix)
-
equals
public boolean equals(KahaLocalTransactionId obj)
-
hasConnectionId
public boolean hasConnectionId()
-
getConnectionId
public String getConnectionId()
-
setConnectionId
public T setConnectionId(String connectionId)
-
clearConnectionId
public void clearConnectionId()
-
hasTransactionId
public boolean hasTransactionId()
-
getTransactionId
public long getTransactionId()
-
setTransactionId
public T setTransactionId(long transactionId)
-
clearTransactionId
public void clearTransactionId()
-
-