-
Notifications
You must be signed in to change notification settings - Fork 68
Counters
Leon Rosenberg edited this page Mar 13, 2024
·
1 revision
Counters are basically lightweight producers. Extremely lightweight producers. The have one or multiple dimensions, where each dimension means one stat value. All Counters extend net.anotheria.moskito.core.counter.GenericCounterStats.
Counter
The counter is a useful utility for counting stuff. Easy as that. Combined with the @Count annotation for both aop and cdi, Counter allows simple counting of something count-worthy. Therefore it only has one property:
Value | Meaning | Shortcut | Units | Note |
---|---|---|---|---|
counter | Number of countable events. | counter | Amount |
Further reads on counters: https://anotheria.net/blog/msk/one-to-count-them-all/