com.zaxxer.hikari.metrics.micrometer.MicrometerMetricsTracker.class Maven / Gradle / Ivy
???? 4 =com/zaxxer/hikari/metrics/micrometer/MicrometerMetricsTracker java/lang/Object )com/zaxxer/hikari/metrics/IMetricsTracker MicrometerMetricsTracker.java +io/micrometer/core/instrument/Timer$Builder #io/micrometer/core/instrument/Timer
Builder -io/micrometer/core/instrument/Counter$Builder
%io/micrometer/core/instrument/Counter +io/micrometer/core/instrument/Gauge$Builder #io/micrometer/core/instrument/Gauge %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup HIKARI_METRIC_NAME_PREFIX Ljava/lang/String; hikaricp METRIC_CATEGORY pool METRIC_NAME_WAIT hikaricp.connections.acquire " METRIC_NAME_USAGE hikaricp.connections.usage % METRIC_NAME_CONNECT hikaricp.connections.creation ( METRIC_NAME_TIMEOUT_RATE hikaricp.connections.timeout + METRIC_NAME_TOTAL_CONNECTIONS hikaricp.connections . METRIC_NAME_IDLE_CONNECTIONS hikaricp.connections.idle 1 METRIC_NAME_ACTIVE_CONNECTIONS hikaricp.connections.active 4 METRIC_NAME_PENDING_CONNECTIONS hikaricp.connections.pending 7 METRIC_NAME_MAX_CONNECTIONS hikaricp.connections.max : METRIC_NAME_MIN_CONNECTIONS hikaricp.connections.min = connectionObtainTimer %Lio/micrometer/core/instrument/Timer; connectionTimeoutCounter 'Lio/micrometer/core/instrument/Counter; connectionUsage connectionCreation totalConnectionGauge %Lio/micrometer/core/instrument/Gauge; idleConnectionGauge activeConnectionGauge pendingConnectionGauge maxConnectionGauge minConnectionGauge
meterRegistry -Lio/micrometer/core/instrument/MeterRegistry; poolStats %Lcom/zaxxer/hikari/metrics/PoolStats; g(Ljava/lang/String;Lcom/zaxxer/hikari/metrics/PoolStats;Lio/micrometer/core/instrument/MeterRegistry;)V ()V P R
S N O U L M W builder A(Ljava/lang/String;)Lio/micrometer/core/instrument/Timer$Builder; Y Z [ Connection acquire time ] description _ Z
` java/lang/String b tags B([Ljava/lang/String;)Lio/micrometer/core/instrument/Timer$Builder; d e
f register T(Lio/micrometer/core/instrument/MeterRegistry;)Lio/micrometer/core/instrument/Timer; h i
j ? @ l Connection creation time n D @ p Connection usage time r C @ t C(Ljava/lang/String;)Lio/micrometer/core/instrument/Counter$Builder; Y v w Connection timeout total count y _ v
{ D([Ljava/lang/String;)Lio/micrometer/core/instrument/Counter$Builder; d }
~ V(Lio/micrometer/core/instrument/MeterRegistry;)Lio/micrometer/core/instrument/Counter; h ?
? A B ? (Ljava/lang/Object;)D ? #com/zaxxer/hikari/metrics/PoolStats ? getTotalConnections ()I ? ?
? ? ? ((Lcom/zaxxer/hikari/metrics/PoolStats;)D ? "java/lang/invoke/LambdaMetafactory ? 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; ? ?
? ? ?
applyAsDouble '()Ljava/util/function/ToDoubleFunction; ? ? ? x(Ljava/lang/String;Ljava/lang/Object;Ljava/util/function/ToDoubleFunction;)Lio/micrometer/core/instrument/Gauge$Builder; Y ? ? Total connections ? A(Ljava/lang/String;)Lio/micrometer/core/instrument/Gauge$Builder; _ ?
? B([Ljava/lang/String;)Lio/micrometer/core/instrument/Gauge$Builder; d ?
? T(Lio/micrometer/core/instrument/MeterRegistry;)Lio/micrometer/core/instrument/Gauge; h ?
? E F ? getIdleConnections ? ?
? ? ? ? Idle connections ? G F ? getActiveConnections ? ?
? ? ? ? Active connections ? H F ? getPendingThreads ? ?
? ? ? ? Pending threads ? I F ? getMaxConnections ? ?
? ? ? ? Max connections ? J F ? getMinConnections ? ?
? ? ? ? Min connections ? K F ? this ?Lcom/zaxxer/hikari/metrics/micrometer/MicrometerMetricsTracker; poolName recordConnectionAcquiredNanos (J)V java/util/concurrent/TimeUnit ? NANOSECONDS Ljava/util/concurrent/TimeUnit; ? ? ? ? record #(JLjava/util/concurrent/TimeUnit;)V ? ? ? elapsedAcquiredNanos J recordConnectionUsageMillis MILLISECONDS ? ? ? ? elapsedBorrowedMillis recordConnectionTimeout increment ? R ? recordConnectionCreatedMillis connectionCreatedMillis close +io/micrometer/core/instrument/MeterRegistry ? remove L(Lio/micrometer/core/instrument/Meter;)Lio/micrometer/core/instrument/Meter; ? ?
? ?
ConstantValue Code LineNumberTable LocalVariableTable InnerClasses
SourceFile BootstrapMethods ! ? ? ! ? # $ ? &