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>
-
-
Constructor Summary
Constructors Constructor Description KahaLocation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidclearLogId()voidclearOffset()KahaLocationclone()booleanequals(Object obj)booleanequals(KahaLocation obj)intgetLogId()intgetOffset()inthashCode()booleanhasLogId()booleanhasOffset()KahaLocationmergeFrom(KahaLocation other)KahaLocationmergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)ArrayList<String>missingFields()static KahaLocationparseFramed(byte[] data)static KahaLocationparseFramed(InputStream data)static KahaLocationparseFramed(org.apache.activemq.protobuf.Buffer data)static KahaLocationparseFramed(org.apache.activemq.protobuf.CodedInputStream data)static KahaLocationparseUnframed(byte[] data)static KahaLocationparseUnframed(InputStream data)static KahaLocationparseUnframed(org.apache.activemq.protobuf.Buffer data)static KahaLocationparseUnframed(org.apache.activemq.protobuf.CodedInputStream data)intserializedSizeUnframed()TsetLogId(int logId)TsetOffset(int offset)StringtoString()StringBuildertoString(StringBuilder sb, String prefix)voidwriteUnframed(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
-
-
-
-
Method Detail
-
missingFields
public ArrayList<String> missingFields()
- Overrides:
missingFieldsin classorg.apache.activemq.protobuf.BaseMessage<KahaLocation>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.activemq.protobuf.Message<KahaLocation>- Overrides:
clearin classorg.apache.activemq.protobuf.BaseMessage<KahaLocation>
-
clone
public KahaLocation clone()
- Specified by:
clonein interfaceorg.apache.activemq.protobuf.Message<KahaLocation>- Specified by:
clonein classorg.apache.activemq.protobuf.BaseMessage<KahaLocation>
-
mergeFrom
public KahaLocation mergeFrom(KahaLocation other)
- Specified by:
mergeFromin interfaceorg.apache.activemq.protobuf.Message<KahaLocation>- Overrides:
mergeFromin classorg.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:
writeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaLocation>- Overrides:
writeUnframedin classorg.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.InvalidProtocolBufferExceptionIOException
-
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.InvalidProtocolBufferExceptionIOException
-
parseFramed
public static KahaLocation parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
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.InvalidProtocolBufferExceptionIOException
-
toString
public StringBuilder toString(StringBuilder sb, String prefix)
-
equals
public boolean equals(KahaLocation obj)
-
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()
-
-