Class QueueCounter
java.lang.Object
com.github.sonus21.rqueue.metrics.QueueCounter
Queue counter counts the different types of events related to a queue. Failure and execution
count, it supports queue registrations.
Multi-consumer keying. Two @RqueueListener methods on the same queue with
different consumerName overrides each produce a distinct QueueDetail and need
their own counters. The maps are keyed by queueName##consumerName (or just
queueName when no override is set) so the second registration does not silently
overwrite the first. Increment lookups follow the same composite key — see
updateFailureCount(String, String).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QueueCounter
public QueueCounter()
-