com.zaxxer.hikari.metrics.prometheus.PrometheusMetricsTrackerFactory.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
???? 4 X 5 6
7
8 9
8 : ;
<
= >
? @ A B C
D E F
8 G H I J RegistrationStatus InnerClasses registrationStatuses Ljava/util/Map; Signature ?Ljava/util/Map; collector 8Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector; collectorRegistry (Lio/prometheus/client/CollectorRegistry; ()V Code LineNumberTable LocalVariableTable this FLcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory; +(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 $PrometheusMetricsTrackerFactory.java K L ' ! 6com/zaxxer/hikari/metrics/prometheus/HikariCPCollector . / M N =com/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTracker O P Q R S T U V W &java/util/concurrent/ConcurrentHashMap Dcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory java/lang/Object /com/zaxxer/hikari/metrics/MetricsTrackerFactory 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; ! ! " 6 *? ? ? #
? @ $ % &