Interface RqueueMetricsCounter

All Known Implementing Classes:
RqueueCounter

public interface RqueueMetricsCounter
  • Method Details

    • updateFailureCount

      void updateFailureCount(String queueName)
    • updateExecutionCount

      void updateExecutionCount(String queueName)
    • updateFailureCount

      default void updateFailureCount(String queueName, String consumerName)
      Consumer-aware failure increment. When a queue carries multiple @RqueueListener methods with distinct consumerName overrides, 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

      default void updateExecutionCount(String queueName, String consumerName)
      Consumer-aware execution increment. See updateFailureCount(String, String).