@Test public void testBug3554_withDBFilterDao() throws Exception { runTestForBug3554(); int numOfPackages = ThreshdConfigFactory.getInstance().getConfiguration().getPackage().length; LoggingEvent[] events = MockLogAppender.getEventsGreaterOrEqual(Level.DEBUG); int count = 0; String expectedMsgHeader = "createPackageIpMap: package "; for (LoggingEvent e : events) { if (e.getMessage().toString().startsWith(expectedMsgHeader)) count++; } assertEquals("expecting " + numOfPackages + " events", numOfPackages, count); }
@Override public String toString() { return "ThresholdingVisitor for " + m_thresholdingSet; }
ThresholdingVisitor extends AbstractCollectionSetVisitor { @Override public String toString() { return "ThresholdingVisitor for " + m_thresholdingSet; } }
ThresholdingVisitor extends AbstractCollectionSetVisitor { @Override public String toString() { return "ThresholdingVisitor for " + m_thresholdingSet; } protected  ThresholdingVisitor(CollectorThresholdingSet thresholdingSet); }
ThresholdingVisitor extends AbstractCollectionSetVisitor { @Override public String toString() { return "ThresholdingVisitor for " + m_thresholdingSet; } 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 { @Override public String toString() { return "ThresholdingVisitor for " + m_thresholdingSet; } 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();  }