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
???? 7 Y 6 7
8
9 :
9 ; <
=
> ?
@ A B C D
E F G
9 H I J K 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 NestMembers L M ' ! 6com/zaxxer/hikari/metrics/prometheus/HikariCPCollector . / N O =com/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTracker P Q R S T U V W X &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 *? ? ? #
? @ $ % &