Package org.apache.pulsar.broker.service
Interface RedeliveryTracker
-
- All Known Implementing Classes:
InMemoryRedeliveryTracker,RedeliveryTrackerDisabled
public interface RedeliveryTracker
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddIfAbsent(org.apache.bookkeeper.mledger.Position position)voidclear()booleancontains(org.apache.bookkeeper.mledger.Position position)intgetRedeliveryCount(org.apache.bookkeeper.mledger.Position position)intincrementAndGetRedeliveryCount(org.apache.bookkeeper.mledger.Position position)voidremove(org.apache.bookkeeper.mledger.Position position)voidremoveBatch(java.util.List<org.apache.bookkeeper.mledger.Position> positions)
-
-
-
Method Detail
-
incrementAndGetRedeliveryCount
int incrementAndGetRedeliveryCount(org.apache.bookkeeper.mledger.Position position)
-
getRedeliveryCount
int getRedeliveryCount(org.apache.bookkeeper.mledger.Position position)
-
remove
void remove(org.apache.bookkeeper.mledger.Position position)
-
removeBatch
void removeBatch(java.util.List<org.apache.bookkeeper.mledger.Position> positions)
-
clear
void clear()
-
contains
boolean contains(org.apache.bookkeeper.mledger.Position position)
-
addIfAbsent
void addIfAbsent(org.apache.bookkeeper.mledger.Position position)
-
-