com.zaxxer.hikari.metrics.prometheus.PrometheusHistogramMetricsTrackerFactory.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of HikariCP Show documentation
Show all versions of HikariCP Show documentation
Ultimate JDBC Connection Pool
???? 7 Z 5 6
7
8 9
8 : ;
<
= >
? @ A B C
D E F
8 G H I registrationStatuses Ljava/util/Map; Signature K RegistrationStatus InnerClasses ?Ljava/util/Map; collector 8Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector; collectorRegistry (Lio/prometheus/client/CollectorRegistry; ()V Code LineNumberTable LocalVariableTable this OLcom/zaxxer/hikari/metrics/prometheus/PrometheusHistogramMetricsTrackerFactory; +(Lio/prometheus/client/CollectorRegistry;)V create d(Ljava/lang/String;Lcom/zaxxer/hikari/metrics/PoolStats;)Lcom/zaxxer/hikari/metrics/IMetricsTracker; poolName Ljava/lang/String; poolStats %Lcom/zaxxer/hikari/metrics/PoolStats; registerCollector K(Lio/prometheus/client/Collector;Lio/prometheus/client/CollectorRegistry;)V Lio/prometheus/client/Collector;
StackMapTable
SourceFile -PrometheusHistogramMetricsTrackerFactory.java L M ' ! 6com/zaxxer/hikari/metrics/prometheus/HikariCPCollector . / N O Fcom/zaxxer/hikari/metrics/prometheus/PrometheusHistogramMetricsTracker P Q R S T U V W X &java/util/concurrent/ConcurrentHashMap Mcom/zaxxer/hikari/metrics/prometheus/PrometheusHistogramMetricsTrackerFactory java/lang/Object /com/zaxxer/hikari/metrics/MetricsTrackerFactory Y Wcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus &io/prometheus/client/CollectorRegistry defaultRegistry add :(Ljava/lang/String;Lcom/zaxxer/hikari/metrics/PoolStats;)V u(Ljava/lang/String;Lio/prometheus/client/CollectorRegistry;Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector;)V
REGISTERED YLcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus;
java/util/Map putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; io/prometheus/client/Collector register J(Lio/prometheus/client/CollectorRegistry;)Lio/prometheus/client/Collector; Dcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory ! ! " 6 *? ? ? #
2 3 $ % &