public class Scraper<ScrapeRuleType extends ScrapeRule> extends Object
| Constructor and Description |
|---|
Scraper(MBeanServer server,
List<ScrapeRuleType> rules) |
| Modifier and Type | Method and Description |
|---|---|
void |
scrape(ScrapeOutput<ScrapeRuleType> output) |
void |
scrape(ScrapeOutput<ScrapeRuleType> output,
long duration,
TimeUnit unit) |
public Scraper(MBeanServer server, List<ScrapeRuleType> rules)
public void scrape(ScrapeOutput<ScrapeRuleType> output) throws InterruptedException
InterruptedExceptionpublic void scrape(ScrapeOutput<ScrapeRuleType> output, long duration, TimeUnit unit) throws InterruptedException
InterruptedExceptionCopyright © 2019. All rights reserved.