protected boolean exceedsThreshold(String aThresholdToCheck, String endpoint,
AnalysisEngineController controller) {
Threshold threshold = getThreshold(aThresholdToCheck, endpoint);
if (threshold != null) {
Monitor monitor = controller.getMonitor();
Statistic statistic = null;
if ((statistic = monitor.getStatistic(endpoint, aThresholdToCheck)) == null) {
statistic = new LongNumericStatistic(aThresholdToCheck);
monitor.addStatistic(endpoint, statistic);
}
if (statistic instanceof LongNumericStatistic) {