Package com.dieselpoint.norm.latency
package com.dieselpoint.norm.latency
-
ClassDescriptionOne of the dangers when reporting latency issues to external services, is that the reporting itself a) takes a significant amount of time and may create Customer Experience issues, and b) you end up with millions of latency alerts when a database goes bad.An exception-like class, that makes it easy to pass the messages, and stack trace associated with a
QueryorTransaction.commit()database call that has exceeded its latency threshold.For use in development/testing environment, throws an Exception when the latency has exceeded the threshold.Interface used to alert administrators to latency issues.Utility class that abstracts the starting / stopping of timers and checking whether sql duration was within threshold