com.zaxxer.hikari.metrics.dropwizard.CodaHaleMetricsTracker.class Maven / Gradle / Ivy
???? 4 ? ;com/zaxxer/hikari/metrics/dropwizard/CodaHaleMetricsTracker java/lang/Object )com/zaxxer/hikari/metrics/IMetricsTracker CodaHaleMetricsTracker.java %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles
Lookup poolName Ljava/lang/String; connectionObtainTimer Lcom/codahale/metrics/Timer; connectionUsage Lcom/codahale/metrics/Histogram; connectionCreation connectionTimeoutMeter Lcom/codahale/metrics/Meter; registry %Lcom/codahale/metrics/MetricRegistry; METRIC_CATEGORY pool METRIC_NAME_WAIT Wait METRIC_NAME_USAGE Usage METRIC_NAME_CONNECT ConnectionCreation " METRIC_NAME_TIMEOUT_RATE ConnectionTimeoutRate % METRIC_NAME_TOTAL_CONNECTIONS TotalConnections ( METRIC_NAME_IDLE_CONNECTIONS IdleConnections + METRIC_NAME_ACTIVE_CONNECTIONS ActiveConnections . METRIC_NAME_PENDING_CONNECTIONS PendingConnections 1 METRIC_NAME_MAX_CONNECTIONS MaxConnections 4 METRIC_NAME_MIN_CONNECTIONS MinConnections 7 _(Ljava/lang/String;Lcom/zaxxer/hikari/metrics/PoolStats;Lcom/codahale/metrics/MetricRegistry;)V ()V 9 ;
<
> @ java/lang/String B #com/codahale/metrics/MetricRegistry D name 9(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String; F G
E H timer 0(Ljava/lang/String;)Lcom/codahale/metrics/Timer; J K
E L N histogram 4(Ljava/lang/String;)Lcom/codahale/metrics/Histogram; P Q
E R T V meter 0(Ljava/lang/String;)Lcom/codahale/metrics/Meter; X Y
E Z \ java/util/Objects ^ requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; ` a
_ b ()Ljava/lang/Object; d #com/zaxxer/hikari/metrics/PoolStats f getTotalConnections ()I h i
g j k ()Ljava/lang/Integer; m "java/lang/invoke/LambdaMetafactory o metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; q r
p s t getValue C(Lcom/zaxxer/hikari/metrics/PoolStats;)Lcom/codahale/metrics/Gauge; v w x register N(Ljava/lang/String;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric; z {
E | getIdleConnections ~ i
g ? x getActiveConnections ? i
g ? ? x getPendingThreads ? i
g ? ? x getMaxConnections ? i
g ? ? x getMinConnections ? i
g ? ? x this =Lcom/zaxxer/hikari/metrics/dropwizard/CodaHaleMetricsTracker; poolStats %Lcom/zaxxer/hikari/metrics/PoolStats; close remove (Ljava/lang/String;)Z ? ?
E ? recordConnectionAcquiredNanos (J)V java/util/concurrent/TimeUnit ? NANOSECONDS Ljava/util/concurrent/TimeUnit; ? ? ? ? com/codahale/metrics/Timer ? update #(JLjava/util/concurrent/TimeUnit;)V ? ?
? ? elapsedAcquiredNanos J recordConnectionUsageMillis com/codahale/metrics/Histogram ? ? ?
? ? elapsedBorrowedMillis recordConnectionTimeout com/codahale/metrics/Meter ? mark ? ;
? ? recordConnectionCreatedMillis connectionCreatedMillis getConnectionAcquisitionTimer ()Lcom/codahale/metrics/Timer; getConnectionDurationHistogram "()Lcom/codahale/metrics/Histogram; getConnectionCreationHistogram
ConstantValue Code LineNumberTable LocalVariableTable InnerClasses
SourceFile BootstrapMethods 1
? ? ? ! ? # $ ? &