public class Monitoring extends Object
Constructor and Description |
---|
Monitoring() |
Modifier and Type | Method and Description |
---|---|
static ObjectInstance |
registerMBean(Object mbean,
String metricName)
Register a MBean with the platform MBean server
|
@Nullable public static ObjectInstance registerMBean(Object mbean, String metricName)
mbean
- the mbean object to registermetricName
- name of the JGit metric, will be prefixed with
"org.eclipse.jgit/"Copyright © 2020 Eclipse JGit Project. All rights reserved.