public void registerSuccessfulSending() { deliveryCounters.incrementSuccesses(); }
public void registerFailedSending() { deliveryCounters.incrementFailures(); }
public void adjustConsumerRate() { OutputRateCalculationResult result = recalculate(); rateLimiter.setRate(result.rate()); currentMode = result.mode(); deliveryCounters.reset(); }