com.codahale.metrics.jvm.JmxAttributeGauge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metrics-jvm Show documentation
Show all versions of metrics-jvm Show documentation
A set of classes which allow you to monitor critical aspects of your Java Virtual Machine
using Metrics.
The newest version!
package com.codahale.metrics.jvm;
import com.codahale.metrics.Gauge;
import java.io.IOException;
import javax.management.JMException;
import javax.management.MBeanServerConnection;
import javax.management.ObjectName;
import java.lang.management.ManagementFactory;
import java.util.Set;
/**
* A {@link Gauge} implementation which queries an {@link MBeanServerConnection} for an attribute of an object.
*/
public class JmxAttributeGauge implements Gauge
© 2015 - 2024 Weber Informatics LLC | Privacy Policy