All Downloads are FREE. Search and download functionalities are using the official Maven repository.

su.nlq.prometheus.jmx.connection.remote.jmxmp.JMXMPConnectionConfiguration Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
package su.nlq.prometheus.jmx.connection.remote.jmxmp;

import org.jetbrains.annotations.NotNull;
import su.nlq.prometheus.jmx.connection.remote.Connector;
import su.nlq.prometheus.jmx.connection.remote.RemoteConnectionConfiguration;

import javax.xml.bind.annotation.XmlType;
import java.util.Optional;

@XmlType(name = "jmxmp-connection")
public final class JMXMPConnectionConfiguration extends RemoteConnectionConfiguration {

  @Override
  protected @NotNull Connector connector(@NotNull String address, @NotNull Optional credentials) {
    return new JMXMPConnector(address, credentials);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy