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

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

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


Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
KahaLocation()
           
 
Method Summary
 void clear()
           
 void clearLogId()
           
 void clearOffset()
           
 KahaLocation clone()
           
 boolean equals(KahaLocation obj)
           
 boolean equals(Object obj)
           
 int getLogId()
           
 int getOffset()
           
 int hashCode()
           
 boolean hasLogId()
           
 boolean hasOffset()
           
 KahaLocation mergeFrom(KahaLocation other)
           
 KahaLocation mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
           
 ArrayList<String> missingFields()
           
static KahaLocation parseFramed(org.apache.activemq.protobuf.Buffer data)
           
static KahaLocation parseFramed(byte[] data)
           
static KahaLocation parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaLocation parseFramed(InputStream data)
           
static KahaLocation parseUnframed(org.apache.activemq.protobuf.Buffer data)
           
static KahaLocation parseUnframed(byte[] data)
           
static KahaLocation parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaLocation parseUnframed(InputStream data)
           
 int serializedSizeUnframed()
           
 T setLogId(int logId)
           
 T setOffset(int offset)
           
 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

KahaLocation

public KahaLocation()
Method Detail

missingFields

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

clear

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

clone

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

mergeFrom

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

serializedSizeUnframed

public int serializedSizeUnframed()

mergeUnframed

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

parseUnframed

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

parseUnframed

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

parseUnframed

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

parseUnframed

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

parseFramed

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

parseFramed

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

parseFramed

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

parseFramed

public static KahaLocation 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(KahaLocation obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasLogId

public boolean hasLogId()

getLogId

public int getLogId()

setLogId

public T setLogId(int logId)

clearLogId

public void clearLogId()

hasOffset

public boolean hasOffset()

getOffset

public int getOffset()

setOffset

public T setOffset(int offset)

clearOffset

public void clearOffset()


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