@Test public void testBug3146_inceaseTrigger() throws Exception { ThresholdingVisitor visitor = createVisitor(); addHighThresholdEvent(1, 10000, 5000, 12000, "Unknown", null, "freeMem", null, null); addHighRearmEvent(1, 10000, 5000, Double.NaN, "Unknown", null, "freeMem", null, null); runGaugeDataTest(visitor, 12000); initFactories("/threshd-configuration.xml","/test-thresholds-3.xml"); visitor.reload(); verifyEvents(0); resetAnticipator(); addHighThresholdEvent(1, 15000, 14000, 13000, "Unknown", null, "freeMem", null, null); runGaugeDataTest(visitor, 13000); verifyEvents(1); resetAnticipator(); addHighThresholdEvent(1, 15000, 14000, 16000, "Unknown", null, "freeMem", null, null); addHighRearmEvent(1, 15000, 14000, 1000, "Unknown", null, "freeMem", null, null); runGaugeDataTest(visitor, 16000); runGaugeDataTest(visitor, 1000); verifyEvents(0); }
public void reload() { m_thresholdingSet.reinitialize(); }
ThresholdingVisitor extends AbstractCollectionSetVisitor { public void reload() { m_thresholdingSet.reinitialize(); } }
ThresholdingVisitor extends AbstractCollectionSetVisitor { public void reload() { m_thresholdingSet.reinitialize(); } protected  ThresholdingVisitor(CollectorThresholdingSet thresholdingSet); }
ThresholdingVisitor extends AbstractCollectionSetVisitor { public void reload() { m_thresholdingSet.reinitialize(); } protected  ThresholdingVisitor(CollectorThresholdingSet thresholdingSet); static ThresholdingVisitor create(int nodeId, String hostAddress, String serviceName, RrdRepository repo, ServiceParameters svcParams); boolean hasThresholds(); @Override void visitCollectionSet(CollectionSet set); void reload(); void reloadScheduledOutages(); boolean isNodeInOutage(); @Override void visitResource(CollectionResource resource); @Override void visitAttribute(CollectionAttribute attribute); @Override void completeResource(CollectionResource resource); Date getCollectionTimestamp(); @Override String toString(); }
ThresholdingVisitor extends AbstractCollectionSetVisitor { public void reload() { m_thresholdingSet.reinitialize(); } protected  ThresholdingVisitor(CollectorThresholdingSet thresholdingSet); static ThresholdingVisitor create(int nodeId, String hostAddress, String serviceName, RrdRepository repo, ServiceParameters svcParams); boolean hasThresholds(); @Override void visitCollectionSet(CollectionSet set); void reload(); void reloadScheduledOutages(); boolean isNodeInOutage(); @Override void visitResource(CollectionResource resource); @Override void visitAttribute(CollectionAttribute attribute); @Override void completeResource(CollectionResource resource); Date getCollectionTimestamp(); @Override String toString();  }