@Test public void testMonitor() { new SimpleMonitorService().collect(new URL("dubbo", NetUtils.getLocalHost(), 0)); }
public void collect(URL statistics) { queue.offer(statistics); if (logger.isInfoEnabled()) { logger.info("collect statistics: " + statistics); } }
SimpleMonitorService implements MonitorService { public void collect(URL statistics) { queue.offer(statistics); if (logger.isInfoEnabled()) { logger.info("collect statistics: " + statistics); } } }
SimpleMonitorService implements MonitorService { public void collect(URL statistics) { queue.offer(statistics); if (logger.isInfoEnabled()) { logger.info("collect statistics: " + statistics); } } SimpleMonitorService(); }
SimpleMonitorService implements MonitorService { public void collect(URL statistics) { queue.offer(statistics); if (logger.isInfoEnabled()) { logger.info("collect statistics: " + statistics); } } SimpleMonitorService(); static SimpleMonitorService getInstance(); String getStatisticsDirectory(); void setStatisticsDirectory(String statistics); String getChartsDirectory(); void setChartsDirectory(String charts); void close(); void count(URL statistics); void collect(URL statistics); List<URL> lookup(URL query); }
SimpleMonitorService implements MonitorService { public void collect(URL statistics) { queue.offer(statistics); if (logger.isInfoEnabled()) { logger.info("collect statistics: " + statistics); } } SimpleMonitorService(); static SimpleMonitorService getInstance(); String getStatisticsDirectory(); void setStatisticsDirectory(String statistics); String getChartsDirectory(); void setChartsDirectory(String charts); void close(); void count(URL statistics); void collect(URL statistics); List<URL> lookup(URL query);  }