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

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

public final class KahaTraceCommand
extends org.apache.activemq.protobuf.BaseMessage<T>
implements JournalCommand<KahaTraceCommand>


Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
KahaTraceCommand()
           
 
Method Summary
 void clear()
           
 void clearMessage()
           
 KahaTraceCommand clone()
           
 boolean equals(KahaTraceCommand obj)
           
 boolean equals(Object obj)
           
 String getMessage()
           
 int hashCode()
           
 boolean hasMessage()
           
 KahaTraceCommand mergeFrom(KahaTraceCommand other)
           
 KahaTraceCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
           
 ArrayList<String> missingFields()
           
static KahaTraceCommand parseFramed(org.apache.activemq.protobuf.Buffer data)
           
static KahaTraceCommand parseFramed(byte[] data)
           
static KahaTraceCommand parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaTraceCommand parseFramed(InputStream data)
           
static KahaTraceCommand parseUnframed(org.apache.activemq.protobuf.Buffer data)
           
static KahaTraceCommand parseUnframed(byte[] data)
           
static KahaTraceCommand parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaTraceCommand parseUnframed(InputStream data)
           
 int serializedSizeUnframed()
           
 T setMessage(String message)
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 KahaEntryType type()
           
 void visit(Visitor visitor)
           
 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
 
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
 

Constructor Detail

KahaTraceCommand

public KahaTraceCommand()
Method Detail

missingFields

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

clear

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

clone

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

mergeFrom

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

serializedSizeUnframed

public int serializedSizeUnframed()
Specified by:
serializedSizeUnframed in interface org.apache.activemq.protobuf.Message<KahaTraceCommand>

mergeUnframed

public KahaTraceCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
                               throws IOException
Specified by:
mergeUnframed in interface org.apache.activemq.protobuf.Message<KahaTraceCommand>
Throws:
IOException

writeUnframed

public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.apache.activemq.protobuf.Message<KahaTraceCommand>
Overrides:
writeUnframed in class org.apache.activemq.protobuf.BaseMessage<KahaTraceCommand>
Throws:
IOException

parseUnframed

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

parseUnframed

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

parseUnframed

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

parseUnframed

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

parseFramed

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

parseFramed

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

parseFramed

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

parseFramed

public static KahaTraceCommand 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<KahaTraceCommand>
Throws:
IOException

type

public KahaEntryType type()
Specified by:
type in interface JournalCommand<KahaTraceCommand>

equals

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

equals

public boolean equals(KahaTraceCommand obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasMessage

public boolean hasMessage()

getMessage

public String getMessage()

setMessage

public T setMessage(String message)

clearMessage

public void clearMessage()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.