Package org.apache.pulsar.client.impl
Class BatchMessageAcker
- java.lang.Object
-
- org.apache.pulsar.client.impl.BatchMessageAcker
-
public class BatchMessageAcker extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanackCumulative(int batchIndex)booleanackIndividual(int batchIndex)intgetBatchSize()intgetBitSetSize()intgetOutstandingAcks()booleanisPrevBatchCumulativelyAcked()voidsetPrevBatchCumulativelyAcked(boolean acked)java.lang.StringtoString()
-
-
-
Method Detail
-
getBatchSize
public int getBatchSize()
-
ackIndividual
public boolean ackIndividual(int batchIndex)
-
getBitSetSize
public int getBitSetSize()
-
ackCumulative
public boolean ackCumulative(int batchIndex)
-
getOutstandingAcks
public int getOutstandingAcks()
-
setPrevBatchCumulativelyAcked
public void setPrevBatchCumulativelyAcked(boolean acked)
-
isPrevBatchCumulativelyAcked
public boolean isPrevBatchCumulativelyAcked()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-