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