Class BrokerEntryMetadata
java.lang.Object
org.apache.pulsar.common.api.proto.BrokerEntryMetadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclear()
copyFrom
(BrokerEntryMetadata _other) long
long
getIndex()
int
boolean
boolean
hasIndex()
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setBrokerTimestamp
(long brokerTimestamp) setIndex
(long index) byte[]
int
writeTo
(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)
-