org.apache.activemq.store.kahadb.data
Class KahaTransactionInfo

java.lang.Object
  extended by org.apache.activemq.protobuf.BaseMessage<T>
      extended by org.apache.activemq.store.kahadb.data.KahaTransactionInfo
All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaTransactionInfo>

public final class KahaTransactionInfo
extends org.apache.activemq.protobuf.BaseMessage<T>


Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
KahaTransactionInfo()
           
 
Method Summary
 void clear()
           
 void clearLocalTransactionId()
           
 void clearPreviousEntry()
           
 void clearXaTransactionId()
           
 KahaTransactionInfo clone()
           
 boolean equals(KahaTransactionInfo obj)
           
 boolean equals(Object obj)
           
 KahaLocalTransactionId getLocalTransactionId()
           
 KahaLocation getPreviousEntry()
           
 KahaXATransactionId getXaTransactionId()
           
 int hashCode()
           
 boolean hasLocalTransactionId()
           
 boolean hasPreviousEntry()
           
 boolean hasXaTransactionId()
           
 KahaTransactionInfo mergeFrom(KahaTransactionInfo other)
           
 KahaTransactionInfo mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
           
 ArrayList<String> missingFields()
           
static KahaTransactionInfo parseFramed(org.apache.activemq.protobuf.Buffer data)
           
static KahaTransactionInfo parseFramed(byte[] data)
           
static KahaTransactionInfo parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaTransactionInfo parseFramed(InputStream data)
           
static KahaTransactionInfo parseUnframed(org.apache.activemq.protobuf.Buffer data)
           
static KahaTransactionInfo parseUnframed(byte[] data)
           
static KahaTransactionInfo parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaTransactionInfo parseUnframed(InputStream data)
           
 int serializedSizeUnframed()
           
 T setLocalTransactionId(KahaLocalTransactionId localTransactionId)
           
 T setPreviousEntry(KahaLocation previousEntry)
           
 T setXaTransactionId(KahaXATransactionId xaTransactionId)
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 void writeUnframed(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, writeUnframed
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KahaTransactionInfo

public KahaTransactionInfo()
Method Detail

missingFields

public ArrayList<String> missingFields()
Overrides:
missingFields in class org.apache.activemq.protobuf.BaseMessage<KahaTransactionInfo>

clear

public void clear()
Specified by:
clear in interface org.apache.activemq.protobuf.Message<KahaTransactionInfo>
Overrides:
clear in class org.apache.activemq.protobuf.BaseMessage<KahaTransactionInfo>

clone

public KahaTransactionInfo clone()
Specified by:
clone in interface org.apache.activemq.protobuf.Message<KahaTransactionInfo>
Specified by:
clone in class org.apache.activemq.protobuf.BaseMessage<KahaTransactionInfo>

mergeFrom

public KahaTransactionInfo mergeFrom(KahaTransactionInfo other)
Specified by:
mergeFrom in interface org.apache.activemq.protobuf.Message<KahaTransactionInfo>
Overrides:
mergeFrom in class org.apache.activemq.protobuf.BaseMessage<KahaTransactionInfo>

serializedSizeUnframed

public int serializedSizeUnframed()

mergeUnframed

public KahaTransactionInfo 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 interface org.apache.activemq.protobuf.Message<KahaTransactionInfo>
Overrides:
writeUnframed in class org.apache.activemq.protobuf.BaseMessage<KahaTransactionInfo>
Throws:
IOException

parseUnframed

public static KahaTransactionInfo parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
                                         throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                                IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

parseUnframed

public static KahaTransactionInfo parseUnframed(org.apache.activemq.protobuf.Buffer data)
                                         throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseUnframed

public static KahaTransactionInfo parseUnframed(byte[] data)
                                         throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseUnframed

public static KahaTransactionInfo parseUnframed(InputStream data)
                                         throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                                IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

parseFramed

public static KahaTransactionInfo parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
                                       throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                              IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

parseFramed

public static KahaTransactionInfo parseFramed(org.apache.activemq.protobuf.Buffer data)
                                       throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseFramed

public static KahaTransactionInfo parseFramed(byte[] data)
                                       throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseFramed

public static KahaTransactionInfo 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)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

equals

public boolean equals(KahaTransactionInfo obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasLocalTransactionId

public boolean hasLocalTransactionId()

getLocalTransactionId

public KahaLocalTransactionId getLocalTransactionId()

setLocalTransactionId

public T setLocalTransactionId(KahaLocalTransactionId localTransactionId)

clearLocalTransactionId

public void clearLocalTransactionId()

hasXaTransactionId

public boolean hasXaTransactionId()

getXaTransactionId

public KahaXATransactionId getXaTransactionId()

setXaTransactionId

public T setXaTransactionId(KahaXATransactionId xaTransactionId)

clearXaTransactionId

public void clearXaTransactionId()

hasPreviousEntry

public boolean hasPreviousEntry()

getPreviousEntry

public KahaLocation getPreviousEntry()

setPreviousEntry

public T setPreviousEntry(KahaLocation previousEntry)

clearPreviousEntry

public void clearPreviousEntry()


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.