public class AckTracker extends Object implements AckFailDelegate
Constructor and Description |
---|
AckTracker() |
Modifier and Type | Method and Description |
---|---|
void |
ack(Object id) |
void |
fail(Object id) |
int |
getNumAcks() |
void |
resetNumAcks() |
public void ack(Object id)
ack
in interface AckFailDelegate
public void fail(Object id)
fail
in interface AckFailDelegate
public int getNumAcks()
public void resetNumAcks()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.