Class BrokerEntryMetadata
java.lang.Object
org.apache.pulsar.common.api.proto.BrokerEntryMetadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()copyFrom(BrokerEntryMetadata _other) longlonggetIndex()intbooleanbooleanhasIndex()voidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setBrokerTimestamp(long brokerTimestamp) setIndex(long index) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
BrokerEntryMetadata
public BrokerEntryMetadata()
-
-
Method Details
-
hasBrokerTimestamp
public boolean hasBrokerTimestamp() -
getBrokerTimestamp
public long getBrokerTimestamp() -
setBrokerTimestamp
-
clearBrokerTimestamp
-
hasIndex
public boolean hasIndex() -
getIndex
public long getIndex() -
setIndex
-
clearIndex
-
writeTo
public int writeTo(io.netty.buffer.ByteBuf _b) -
getSerializedSize
public int getSerializedSize() -
parseFrom
public void parseFrom(io.netty.buffer.ByteBuf _buffer, int _size) -
clear
-
copyFrom
-
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-