su.nlq.prometheus.jmx.scraper.Receiver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmx-prometheus-collector Show documentation
Show all versions of jmx-prometheus-collector Show documentation
Pipe for JMX MBeans to Prometheus
package su.nlq.prometheus.jmx.scraper;
import org.jetbrains.annotations.NotNull;
import su.nlq.prometheus.jmx.bean.MBean;
public interface Receiver {
interface Consumer {
@SuppressWarnings("InstanceMethodNamingConvention")
void to(@NotNull Receiver receiver);
}
void accept(@NotNull MBean bean, @NotNull Object value);
}