public class BatchMessageAcker extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
ackCumulative(int batchIndex) |
boolean |
ackIndividual(int batchIndex) |
int |
getBatchSize() |
int |
getBitSetSize() |
int |
getOutstandingAcks() |
boolean |
isPrevBatchCumulativelyAcked() |
void |
setPrevBatchCumulativelyAcked(boolean acked) |
String |
toString() |
public int getBatchSize()
public boolean ackIndividual(int batchIndex)
public int getBitSetSize()
public boolean ackCumulative(int batchIndex)
public int getOutstandingAcks()
public void setPrevBatchCumulativelyAcked(boolean acked)
public boolean isPrevBatchCumulativelyAcked()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.