com.zaxxer.hikari.pool.PoolEntry.class Maven / Gradle / Ivy
???? 4 ? com/zaxxer/hikari/pool/PoolEntry java/lang/Object 8com/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry PoolEntry.java $com/zaxxer/hikari/util/ConcurrentBag IConcurrentBagEntry LOGGER Lorg/slf4j/Logger; stateUpdater 7Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; [Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
connection Ljava/sql/Connection; lastAccessed J lastBorrowed state I evict Z endOfLife &Ljava/util/concurrent/ScheduledFuture; )Ljava/util/concurrent/ScheduledFuture<*>; keepalive openStatements !Lcom/zaxxer/hikari/util/FastList; 7Lcom/zaxxer/hikari/util/FastList;
hikariPool #Lcom/zaxxer/hikari/pool/HikariPool;
isReadOnly isAutoCommit ;(Ljava/sql/Connection;Lcom/zaxxer/hikari/pool/PoolBase;ZZ)V ()V $ &
' ) + !com/zaxxer/hikari/pool/HikariPool - ! / " 1 # 3 "com/zaxxer/hikari/util/ClockSource 5 currentTime ()J 7 8 6 9 ; com/zaxxer/hikari/util/FastList = java/sql/Statement ? (Ljava/lang/Class;I)V $ A
> B D this "Lcom/zaxxer/hikari/pool/PoolEntry; pool !Lcom/zaxxer/hikari/pool/PoolBase; recycle (J)V %(Lcom/zaxxer/hikari/pool/PoolEntry;)V J L
. M setFutureEol )(Ljava/util/concurrent/ScheduledFuture;)V ,(Ljava/util/concurrent/ScheduledFuture<*>;)V R setKeepalive U createProxyConnection >(Lcom/zaxxer/hikari/pool/ProxyLeakTask;J)Ljava/sql/Connection; #com/zaxxer/hikari/pool/ProxyFactory Y getProxyConnection ?(Lcom/zaxxer/hikari/pool/PoolEntry;Ljava/sql/Connection;Lcom/zaxxer/hikari/util/FastList;Lcom/zaxxer/hikari/pool/ProxyLeakTask;JZZ)Lcom/zaxxer/hikari/pool/ProxyConnection; [ \
Z ] leakTask &Lcom/zaxxer/hikari/pool/ProxyLeakTask; now resetConnectionState ,(Lcom/zaxxer/hikari/pool/ProxyConnection;I)V java/sql/SQLException d A(Ljava/sql/Connection;Lcom/zaxxer/hikari/pool/ProxyConnection;I)V b f
. g proxyConnection (Lcom/zaxxer/hikari/pool/ProxyConnection; dirtyBits getPoolName ()Ljava/lang/String; toString n m
. o isMarkedEvicted ()Z s markEvicted (Ljava/lang/String;)V closeConnection 7(Lcom/zaxxer/hikari/pool/PoolEntry;Ljava/lang/String;)V w x
. y
closureReason Ljava/lang/String; getMillisSinceBorrowed ~
elapsedMillis (J)J ? ? 6 ? getPoolBase #()Lcom/zaxxer/hikari/pool/PoolBase; java/lang/StringBuilder ?
? ' append -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? , accessed ? -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? elapsedDisplayString (JJ)Ljava/lang/String; ? ? 6 ? ago, ?
stateToString ? m
?
? o getState ()I
? 5java/util/concurrent/atomic/AtomicIntegerFieldUpdater ? get (Ljava/lang/Object;)I ? ?
? ?
compareAndSet (II)Z (Ljava/lang/Object;II)Z ? ?
? ? expect update setState (I)V set (Ljava/lang/Object;I)V ? ?
? ? close ()Ljava/sql/Connection; $java/util/concurrent/ScheduledFuture ? isDone ? r ? ? cancel (Z)Z ? ? ? ? ? [{} - maxLifeTime expiration task cancellation unexpectedly returned false for connection {} ? l m
? org/slf4j/Logger ? warn 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ? N{} - keepalive task cancellation unexpectedly returned false for connection {} ? eol ka con IN_USE ?
NOT_IN_USE ? REMOVED ? RESERVED ? Invalid ? org/slf4j/LoggerFactory ? getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ? ?
? ?
newUpdater \(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; ? ?
? ? Signature Code LineNumberTable LocalVariableTable
StackMapTable LocalVariableTypeTable
Exceptions InnerClasses
SourceFile 0
? B B B ? B ? ? ! " # $ % ? ? 8*? (*? **+? ,*,? .? 0*? 2*? 4*? :? <*? >Y@? C? E? ? &