public class Scraper<ScrapeRuleType extends ScrapeRule> extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
JMX_MAPPER |
| Constructor | Description |
|---|---|
Scraper(MBeanServer server,
List<ScrapeRuleType> rules) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
scrape(ObjectInstance instance,
MBeanAttributeInfo attribute,
ScrapeOutput<ScrapeRuleType> output) |
|
void |
scrape(ObjectInstance instance,
ScrapeOutput<ScrapeRuleType> output) |
|
void |
scrape(ScrapeOutput<ScrapeRuleType> output) |
public Scraper(MBeanServer server, List<ScrapeRuleType> rules)
public void scrape(ScrapeOutput<ScrapeRuleType> output) throws IntrospectionException, InstanceNotFoundException, ReflectionException, IOException
public void scrape(ObjectInstance instance, ScrapeOutput<ScrapeRuleType> output) throws IntrospectionException, InstanceNotFoundException, ReflectionException
public void scrape(ObjectInstance instance, MBeanAttributeInfo attribute, ScrapeOutput<ScrapeRuleType> output) throws InstanceNotFoundException, AttributeNotFoundException, ReflectionException, MBeanException, net.thisptr.jackson.jq.exception.JsonQueryException, com.fasterxml.jackson.core.JsonProcessingException, IOException
InstanceNotFoundExceptionAttributeNotFoundExceptionReflectionExceptionMBeanExceptionnet.thisptr.jackson.jq.exception.JsonQueryExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionIOExceptionCopyright © 2018. All rights reserved.