Class DelayedIndex
java.lang.Object
org.apache.pulsar.broker.delayed.proto.DelayedIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()copyFrom(DelayedIndex _other) longlongintlongbooleanbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setEntryId(long entryId) setLedgerId(long ledgerId) setTimestamp(long timestamp) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
DelayedIndex
public DelayedIndex()
-
-
Method Details
-
hasTimestamp
public boolean hasTimestamp() -
getTimestamp
public long getTimestamp() -
setTimestamp
-
clearTimestamp
-
hasLedgerId
public boolean hasLedgerId() -
getLedgerId
public long getLedgerId() -
setLedgerId
-
clearLedgerId
-
hasEntryId
public boolean hasEntryId() -
getEntryId
public long getEntryId() -
setEntryId
-
clearEntryId
-
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)
-