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>
-
Field Summary
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidvoidclone()booleanbooleanequals(KahaLocation obj) intgetLogId()intinthashCode()booleanhasLogId()booleanmergeFrom(KahaLocation other) mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) 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) intsetLogId(int logId) setOffset(int offset) toString()toString(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
-
Constructor Details
-
KahaLocation
public KahaLocation()
-
-
Method Details
-
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
- Specified by:
clonein interfaceorg.apache.activemq.protobuf.Message<KahaLocation>- Specified by:
clonein classorg.apache.activemq.protobuf.BaseMessage<KahaLocation>
-
mergeFrom
- 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
- 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
-
toString
-
equals
-
equals
-
hashCode
public int hashCode() -
hasLogId
public boolean hasLogId() -
getLogId
public int getLogId() -
setLogId
-
clearLogId
public void clearLogId() -
hasOffset
public boolean hasOffset() -
getOffset
public int getOffset() -
setOffset
-
clearOffset
public void clearOffset()
-