com.zaxxer.hikari.metrics.prometheus.PrometheusHistogramMetricsTrackerFactory.class Maven / Gradle / Ivy
???? 4 Z Mcom/zaxxer/hikari/metrics/prometheus/PrometheusHistogramMetricsTrackerFactory java/lang/Object /com/zaxxer/hikari/metrics/MetricsTrackerFactory -PrometheusHistogramMetricsTrackerFactory.java Wcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus Dcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory
RegistrationStatus registrationStatuses Ljava/util/Map; ?Ljava/util/Map; collector 8Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector; collectorRegistry (Lio/prometheus/client/CollectorRegistry; ()V &io/prometheus/client/CollectorRegistry defaultRegistry +(Lio/prometheus/client/CollectorRegistry;)V
this OLcom/zaxxer/hikari/metrics/prometheus/PrometheusHistogramMetricsTrackerFactory;
6com/zaxxer/hikari/metrics/prometheus/HikariCPCollector "
# % ' create d(Ljava/lang/String;Lcom/zaxxer/hikari/metrics/PoolStats;)Lcom/zaxxer/hikari/metrics/IMetricsTracker; registerCollector K(Lio/prometheus/client/Collector;Lio/prometheus/client/CollectorRegistry;)V + ,
- add :(Ljava/lang/String;Lcom/zaxxer/hikari/metrics/PoolStats;)V / 0
# 1 Fcom/zaxxer/hikari/metrics/prometheus/PrometheusHistogramMetricsTracker 3 u(Ljava/lang/String;Lio/prometheus/client/CollectorRegistry;Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector;)V 5
4 6 poolName Ljava/lang/String; poolStats %Lcom/zaxxer/hikari/metrics/PoolStats;
<
REGISTERED YLcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus; > ? @
java/util/Map B putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; D E C F io/prometheus/client/Collector H register J(Lio/prometheus/client/CollectorRegistry;)Lio/prometheus/client/Collector; J K
I L Lio/prometheus/client/Collector; &java/util/concurrent/ConcurrentHashMap P
Q Signature Code LineNumberTable LocalVariableTable
StackMapTable InnerClasses
SourceFile !
S T 6 *? ? ? U
2 3 V T U *? !*? #Y? $? &*+? (? U 9 ) : ; V ) * T l &**? &*? (? .*? &+,? 2? 4Y+*? (*? &? 7? U ? @ A V &