Package com.dieselpoint.norm.latency
Class ExceptionLatencyAlerter
java.lang.Object
com.dieselpoint.norm.latency.ExceptionLatencyAlerter
- All Implemented Interfaces:
LatencyAlerter
For use in development/testing environment, throws an Exception when the latency has exceeded the threshold.
For early warning of latency issues, it's good practise to prevent tests from passing when latency exceeds the threshold
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExceptionLatencyAlerter
public ExceptionLatencyAlerter()
-
-
Method Details
-
alertLatencyFailure
- Specified by:
alertLatencyFailurein interfaceLatencyAlerter
-