com.zaxxer.hikari.util.ConcurrentBag.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? ?
W ? U ?
U ? U ? ?
? U ? ?
? U ? ?
? U ? ?
? ? U ? ?
? ? ? ? ? ?
? ?
?
? ? ? ? ? Y ?
?
? ? ? ? ? ?
? ? ? ' ?
? ?
? ? ?
? ?
? ?
? ? U ? U ? ? ? ? ?
6 ?
? ? ? ?
? ? ?
?
?
W
W
Q
S!"
#$%&' IBagStateListener InnerClasses IConcurrentBagEntry LOGGER Lorg/slf4j/Logger;
sharedList +Ljava/util/concurrent/CopyOnWriteArrayList; Signature 0Ljava/util/concurrent/CopyOnWriteArrayList; weakThreadLocals Z
threadList Ljava/lang/ThreadLocal; =Ljava/lang/ThreadLocal;>; listener 8Lcom/zaxxer/hikari/util/ConcurrentBag$IBagStateListener; waiters +Ljava/util/concurrent/atomic/AtomicInteger; closed handoffQueue 'Ljava/util/concurrent/SynchronousQueue; ,Ljava/util/concurrent/SynchronousQueue; ;(Lcom/zaxxer/hikari/util/ConcurrentBag$IBagStateListener;)V Code LineNumberTable LocalVariableTable this &Lcom/zaxxer/hikari/util/ConcurrentBag; LocalVariableTypeTable +Lcom/zaxxer/hikari/util/ConcurrentBag;
StackMapTable borrow \(JLjava/util/concurrent/TimeUnit;)Lcom/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry; entry Ljava/lang/Object; bagEntry :Lcom/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry; i I start J timeout timeUnit Ljava/util/concurrent/TimeUnit; list Ljava/util/List; waiting TT; $Ljava/util/List;()*
Exceptions+ %(JLjava/util/concurrent/TimeUnit;)TT; requite =(Lcom/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry;)V threadLocalList (TT;)V add remove =(Lcom/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry;)Z removed (TT;)Z close ()V values (I)Ljava/util/List; state Ljava/util/List; (I)Ljava/util/List; ()Ljava/util/List; ()Ljava/util/List; reserve unreserve getWaitingThreadCount ()I getCount (I)I e count getStateCounts ()[I states [I ? size dumpState useWeakThreadLocals ()Z se Ljava/lang/SecurityException; lambda$dumpState$3 lambda$values$2 >(ILcom/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry;)Z lambda$new$1 lambda$new$0 jLjava/lang/Object;Ljava/lang/AutoCloseable;
SourceFile ConcurrentBag.java NestMembers 8com/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry p ? h i ? ? c d %java/util/concurrent/SynchronousQueue p, m n )java/util/concurrent/atomic/AtomicInteger j k )java/util/concurrent/CopyOnWriteArrayList _ ` BootstrapMethods-./ ?01234 e f50. java/util/List ? ? ?6 java/lang/ref/WeakReference789 ?:;<