Package org.eclipse.jgit.util
Class Monitoring
- java.lang.Object
-
- org.eclipse.jgit.util.Monitoring
-
public class Monitoring extends Object
Enables monitoring JGit via JMX- Since:
- 5.1.13
-
-
Constructor Summary
Constructors Constructor Description Monitoring()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectInstance
registerMBean(Object mbean, String metricName)
Register a MBean with the platform MBean server
-
-
-
Method Detail
-
registerMBean
@Nullable public static ObjectInstance registerMBean(Object mbean, String metricName)
Register a MBean with the platform MBean server- Parameters:
mbean
- the mbean object to registermetricName
- name of the JGit metric, will be prefixed with "org.eclipse.jgit/"- Returns:
- the registered mbean's object instance
-
-