Class BatchCounter
- java.lang.Object
-
- app.coronawarn.server.services.submission.monitoring.BatchCounter
-
public class BatchCounter extends Object
Batch counter for counting requests for monitoring. Counts up in batches, given batch size. This way, single requests cannot be traced to semantics of the counter by comparing time stamps.
-
-
Method Detail
-
increment
public void increment()
Increments theBatchCounter
. If the batch size is reached, it is provided to monitoring, else, the internal counter is incremented.
-
-