Class RqueueCounter
java.lang.Object
com.github.sonus21.rqueue.metrics.RqueueCounter
- All Implemented Interfaces:
RqueueMetricsCounter
Rqueue counter counts the different types of events related to a queue. It's used to count how
many messages have been processed and how many of them have been failed. In the case of failure
count increases.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateExecutionCount(String queueName) voidupdateFailureCount(String queueName)
-
Constructor Details
-
RqueueCounter
-
-
Method Details
-
updateFailureCount
- Specified by:
updateFailureCountin interfaceRqueueMetricsCounter
-
updateExecutionCount
- Specified by:
updateExecutionCountin interfaceRqueueMetricsCounter
-