Class SubmissionMonitor


  • @Component
    @ConfigurationProperties(prefix="services.submission.monitoring")
    public class SubmissionMonitor
    extends Object
    Provides functionality for monitoring the diagnosis key submission handling logic.
    • Constructor Detail

      • SubmissionMonitor

        protected SubmissionMonitor​(io.micrometer.core.instrument.MeterRegistry meterRegistry,
                                    SubmissionServiceConfig submissionServiceConfig,
                                    FakeDelayManager fakeDelayManager)
        Constructor for SubmissionMonitor. Initializes all counters to 0 upon being called.
        Parameters:
        meterRegistry - the meterRegistry
        fakeDelayManager - the fake delay manager whose fake delay will be monitored
    • Method Detail

      • incrementRequestCounter

        public void incrementRequestCounter()
      • incrementRealRequestCounter

        public void incrementRealRequestCounter()
      • incrementFakeRequestCounter

        public void incrementFakeRequestCounter()
      • incrementInvalidTanRequestCounter

        public void incrementInvalidTanRequestCounter()