public final class PendingAckMetadata extends Object
| Constructor and Description |
|---|
PendingAckMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAckSet(long ackSet) |
PendingAckMetadata |
clear() |
PendingAckMetadata |
clearAckSet() |
PendingAckMetadata |
clearBatchSize() |
PendingAckMetadata |
clearEntryId() |
PendingAckMetadata |
clearLedgerId() |
PendingAckMetadata |
copyFrom(PendingAckMetadata _other) |
long |
getAckSetAt(int idx) |
int |
getAckSetsCount() |
int |
getBatchSize() |
long |
getEntryId() |
long |
getLedgerId() |
int |
getSerializedSize() |
boolean |
hasBatchSize() |
boolean |
hasEntryId() |
boolean |
hasLedgerId() |
void |
parseFrom(byte[] a) |
void |
parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size) |
PendingAckMetadata |
setBatchSize(int batchSize) |
PendingAckMetadata |
setEntryId(long entryId) |
PendingAckMetadata |
setLedgerId(long ledgerId) |
byte[] |
toByteArray() |
int |
writeTo(io.netty.buffer.ByteBuf _b) |
public boolean hasLedgerId()
public long getLedgerId()
public PendingAckMetadata setLedgerId(long ledgerId)
public PendingAckMetadata clearLedgerId()
public boolean hasEntryId()
public long getEntryId()
public PendingAckMetadata setEntryId(long entryId)
public PendingAckMetadata clearEntryId()
public int getAckSetsCount()
public long getAckSetAt(int idx)
public void addAckSet(long ackSet)
public PendingAckMetadata clearAckSet()
public boolean hasBatchSize()
public int getBatchSize()
public PendingAckMetadata setBatchSize(int batchSize)
public PendingAckMetadata clearBatchSize()
public int writeTo(io.netty.buffer.ByteBuf _b)
public int getSerializedSize()
public void parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size)
public PendingAckMetadata clear()
public PendingAckMetadata copyFrom(PendingAckMetadata _other)
public byte[] toByteArray()
public void parseFrom(byte[] a)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.