org.apache.activemq.store.kahadb.data
Class KahaLocation
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
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>
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 |
KahaLocation
public KahaLocation()
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-2011 Apache Software Foundation. All Rights Reserved.