Uses of Interface
com.dieselpoint.norm.latency.LatencyAlerter
Packages that use LatencyAlerter
-
Uses of LatencyAlerter in com.dieselpoint.norm
Fields in com.dieselpoint.norm with type parameters of type LatencyAlerterMethods in com.dieselpoint.norm with parameters of type LatencyAlerterModifier and TypeMethodDescriptionvoidDatabase.addLatencyAlerter(LatencyAlerter alerter) Adds the providedLatencyAlerterinstance to the instances that are called in-order, when aQueryorTransaction.commit()call to the database exceeds the maximum latency (either the global maximum set viaDatabase.setMaxLatency(long), orQuery.maxLatency(long)orTransaction.maxLatency(long) -
Uses of LatencyAlerter in com.dieselpoint.norm.latency
Classes in com.dieselpoint.norm.latency that implement LatencyAlerterModifier and TypeClassDescriptionclassOne 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.classFor use in development/testing environment, throws an Exception when the latency has exceeded the threshold.classclass