public class JmxScraper extends Object
| 构造器和说明 |
|---|
JmxScraper(String jmxUrl,
String username,
String password,
boolean ssl,
List<ObjectName> whitelistObjectNames,
List<ObjectName> blacklistObjectNames,
MBeanReceiver receiver,
JmxMBeanPropertyCache jmxMBeanPropertyCache)
Instantiates a new Jmx scraper.
|
public JmxScraper(String jmxUrl, String username, String password, boolean ssl, List<ObjectName> whitelistObjectNames, List<ObjectName> blacklistObjectNames, MBeanReceiver receiver, JmxMBeanPropertyCache jmxMBeanPropertyCache)
jmxUrl - the jmx urlusername - the usernamepassword - the passwordssl - the sslwhitelistObjectNames - the whitelist object namesblacklistObjectNames - the blacklist object namesreceiver - the receiverjmxMBeanPropertyCache - the jmx m bean property cachepublic void doScrape()
throws IOException
IOException - the exceptionCopyright © 2020 dromara. All rights reserved.