Interface RqueueMetricsCounter
- All Known Implementing Classes:
RqueueCounter
public interface RqueueMetricsCounter
-
Method Summary
Modifier and TypeMethodDescriptionvoidupdateExecutionCount(String queueName) default voidupdateExecutionCount(String queueName, String consumerName) Consumer-aware execution increment.voidupdateFailureCount(String queueName) default voidupdateFailureCount(String queueName, String consumerName) Consumer-aware failure increment.
-
Method Details
-
updateFailureCount
-
updateExecutionCount
-
updateFailureCount
Consumer-aware failure increment. When a queue carries multiple@RqueueListenermethods with distinctconsumerNameoverrides, each consumer has its own counter registered under(queueName, consumerName); calling the bare-queue overload would route every increment to the same (last-registered) counter and silently lose per-consumer counts. Defaults to the queue-level path so callers that don't have a consumer name keep working unchanged. -
updateExecutionCount
Consumer-aware execution increment. SeeupdateFailureCount(String, String).
-