io.opentelemetry.instrumentation.jmx.engine.DetectionStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentelemetry-jmx-metrics Show documentation
Show all versions of opentelemetry-jmx-metrics Show documentation
Instrumentation of Java libraries using OpenTelemetry.
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.instrumentation.jmx.engine;
import java.util.Collection;
import javax.management.MBeanServer;
import javax.management.ObjectName;
/**
* A class encapsulating a set of ObjectNames and the MBeanServer that recognized them. Objects of
* this class are immutable.
*/
class DetectionStatus {
private final MBeanServer server;
private final Collection objectNames;
DetectionStatus(MBeanServer server, Collection objectNames) {
this.server = server;
this.objectNames = objectNames;
}
MBeanServer getServer() {
return server;
}
Collection getObjectNames() {
return objectNames;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy