io.prestosql.hive.$internal.com.codahale.metrics.JmxAttributeGauge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hive-apache Show documentation
Show all versions of hive-apache Show documentation
Shaded version of Apache Hive for Presto
The newest version!
package io.prestosql.hive.$internal.com.codahale.metrics;
import java.io.IOException;
import javax.management.JMException;
import javax.management.MBeanServerConnection;
import javax.management.ObjectName;
import java.lang.management.ManagementFactory;
/**
* A {@link Gauge} implementation which queries an {@link MBeanServerConnection} for an attribute of an object.
*/
public class JmxAttributeGauge implements Gauge © 2015 - 2025 Weber Informatics LLC | Privacy Policy