类 BrokerEntryMetadata
java.lang.Object
org.apache.pulsar.common.api.proto.BrokerEntryMetadata
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clear()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)
-
构造器详细资料
-
BrokerEntryMetadata
public BrokerEntryMetadata()
-
-
方法详细资料
-
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)
-