Skip to content

Commit

Permalink
Merge pull request #26 from covid-be-app/development
Browse files Browse the repository at this point in the history
Pre-release v1.2.3 to staging
  • Loading branch information
rik2803 committed Feb 24, 2021
2 parents 1198573 + 8f0abe8 commit 0911495
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public class TestRequestMonitor {
private final MeterRegistry meterRegistry;
private final long batchSize;

private BatchCounter nonExistingTestRequests;
private BatchCounter dummyTestRequests;
private BatchCounter positiveResponses;
private BatchCounter negativeResponses;

Expand All @@ -63,20 +61,10 @@ protected TestRequestMonitor(
* </ul>
*/
private void initializeCounters() {
nonExistingTestRequests = new BatchCounter(meterRegistry, batchSize, "nonexisting");
dummyTestRequests = new BatchCounter(meterRegistry, batchSize, "dummy");
positiveResponses = new BatchCounter(meterRegistry, batchSize, "positive");
negativeResponses = new BatchCounter(meterRegistry, batchSize, "negative");
}

public void incrementNonExistingTestRequest() {
nonExistingTestRequests.increment();
}

public void incrementDummyTestRequest() {
dummyTestRequests.increment();
}

public void incrementPositiveTestResponse() {
positiveResponses.increment();
}
Expand Down

0 comments on commit 0911495

Please sign in to comment.