onDeliveryCompleted

public void onDeliveryCompleted(DeliveryStats stats)

Called once some delivery process has completed and the corresponding shard has been released.

The descendants may override this method to understand when it is safe to pick up the corresponding shard again. Another usage scenario is calculation of the message delivery throughput.

Parameters

stats

the statistics of the performed delivery