Repository URL to install this package:
|
Version:
0.6.14 ▾
|
com.supertenant/supermeter
/
agent
/
com
/
google
/
common
/
util
/
concurrent
/
CycleDetectingLockFactory.stclazz
|
|---|
Êþº¾ 4P
»
¼
½ ¾ ¿
À Á U Â Ã
Ä Å Æ
Ç
È
É Ê
Ä Ë
È
Ì Í
Î Ï
Ð Ñ Ò Ó Ô
Õ Ò Ö
× Ø
Ù Ú
Û
Ü Ý
Þ
9 ß
à
9 á U â
9 ã
ä
å æ
ç è
é
ç ê
ë ì
ë í î
/ ï
/ ð ñ
/ ò
E ó ô N õ ö
÷ ø ù N ú
9 û
9 ü ý
= ó
= þ
= ÿ
C ó CycleDetectingReentrantWriteLock InnerClasses CycleDetectingReentrantReadLock $CycleDetectingReentrantReadWriteLock CycleDetectingReentrantLock
LockGraphNode CycleDetectingLock PotentialDeadlockException ExampleStackTrace WithExplicitOrdering
Policies Policy lockGraphNodesPerType $Ljava/util/concurrent/ConcurrentMap; Signature ½Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<+Ljava/lang/Enum<*>;>;Ljava/util/Map<+Ljava/lang/Enum<*>;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode;>;>; logger Ljava/util/logging/Logger; policy DLcom/google/common/util/concurrent/CycleDetectingLockFactory$Policy;
acquiredLocks Ljava/lang/ThreadLocal; {Ljava/lang/ThreadLocal<Ljava/util/ArrayList<Lcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode;>;>; newInstance (Lcom/google/common/util/concurrent/CycleDetectingLockFactory$Policy;)Lcom/google/common/util/concurrent/CycleDetectingLockFactory; Code LineNumberTable LocalVariableTable newReentrantLock >(Ljava/lang/String;)Ljava/util/concurrent/locks/ReentrantLock; this =Lcom/google/common/util/concurrent/CycleDetectingLockFactory; lockName Ljava/lang/String; ?(Ljava/lang/String;Z)Ljava/util/concurrent/locks/ReentrantLock; fair Z
StackMapTable newReentrantReadWriteLock G(Ljava/lang/String;)Ljava/util/concurrent/locks/ReentrantReadWriteLock; H(Ljava/lang/String;Z)Ljava/util/concurrent/locks/ReentrantReadWriteLock; newInstanceWithExplicitOrdering ©(Ljava/lang/Class;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$Policy;)Lcom/google/common/util/concurrent/CycleDetectingLockFactory$WithExplicitOrdering; enumClass Ljava/lang/Class; lockGraphNodes Ljava/util/Map; LocalVariableTypeTable Ljava/lang/Class<TE;>; _Ljava/util/Map<TE;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode;>; Ì<E:Ljava/lang/Enum<TE;>;>(Ljava/lang/Class<TE;>;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$Policy;)Lcom/google/common/util/concurrent/CycleDetectingLockFactory$WithExplicitOrdering<TE;>; getOrCreateNodes "(Ljava/lang/Class;)Ljava/util/Map; clazz existing created <E:Ljava/lang/Enum<TE;>;>(Ljava/lang/Class<TE;>;)Ljava/util/Map<+TE;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode;>; createNodes node KLcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode; key Ljava/lang/Enum; i I map Ljava/util/EnumMap; keys [Ljava/lang/Enum; numKeys nodes Ljava/util/ArrayList; TE; cLjava/util/EnumMap<TE;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode;>; [TE; bLjava/util/ArrayList<Lcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode;>; <E:Ljava/lang/Enum<TE;>;>(Ljava/lang/Class<TE;>;)Ljava/util/Map<TE;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode;>; RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting; getLockName $(Ljava/lang/Enum;)Ljava/lang/String; rank Ljava/lang/Enum<*>; '(Ljava/lang/Enum<*>;)Ljava/lang/String; <init> G(Lcom/google/common/util/concurrent/CycleDetectingLockFactory$Policy;)V aboutToAcquire S(Lcom/google/common/util/concurrent/CycleDetectingLockFactory$CycleDetectingLock;)V acquiredLockList lock PLcom/google/common/util/concurrent/CycleDetectingLockFactory$CycleDetectingLock; lockStateChanged
access$100 ()Ljava/util/logging/Logger; (Lcom/google/common/util/concurrent/CycleDetectingLockFactory$Policy;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$1;)V x0 x1 ?Lcom/google/common/util/concurrent/CycleDetectingLockFactory$1;
access$600 (Lcom/google/common/util/concurrent/CycleDetectingLockFactory;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$CycleDetectingLock;)V
access$700 <clinit> ()V
SourceFile CycleDetectingLockFactory.java RuntimeVisibleAnnotations CLcom/google/common/util/concurrent/ElementTypesAreNonnullByDefault; $Lcom/google/common/annotations/Beta; 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; /Lcom/google/common/annotations/GwtIncompatible; ¨ ¤ £ ¤ ¡ ¢ \ ] ;com/google/common/util/concurrent/CycleDetectingLockFactory h n ^ _
(java/util/concurrent/locks/ReentrantLock ¡ Wcom/google/common/util/concurrent/CycleDetectingLockFactory$CycleDetectingReentrantLock Icom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode ¡ ¡ r t 1java/util/concurrent/locks/ReentrantReadWriteLock `com/google/common/util/concurrent/CycleDetectingLockFactory$CycleDetectingReentrantReadWriteLock Pcom/google/common/util/concurrent/CycleDetectingLockFactory$WithExplicitOrdering ¡ X Y
java/util/Map
!"# $%&'()*+,-./01234565789:; java/lang/StringBuilder ¡<=> .?5 ¡ ³ Bcom/google/common/util/concurrent/CycleDetectingLockFactory$Policy@A ` aBC java/util/ArrayListDEF;G( "com/google/common/collect/MapMakerHIJKL5MNO =com/google/common/util/concurrent/CycleDetectingLockFactory$1 java/lang/Object \com/google/common/util/concurrent/CycleDetectingLockFactory$CycleDetectingReentrantWriteLock [com/google/common/util/concurrent/CycleDetectingLockFactory$CycleDetectingReentrantReadLock Ncom/google/common/util/concurrent/CycleDetectingLockFactory$CycleDetectingLock Vcom/google/common/util/concurrent/CycleDetectingLockFactory$PotentialDeadlockException Mcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace Dcom/google/common/util/concurrent/CycleDetectingLockFactory$Policies java/lang/Class java/util/EnumMap DISABLED FLcom/google/common/util/concurrent/CycleDetectingLockFactory$Policies; (Z)V (Ljava/lang/String;)V Ë(Lcom/google/common/util/concurrent/CycleDetectingLockFactory;Lcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode;ZLcom/google/common/util/concurrent/CycleDetectingLockFactory$1;)V $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; V(Lcom/google/common/util/concurrent/CycleDetectingLockFactory$Policy;Ljava/util/Map;)V "java/util/concurrent/ConcurrentMap get putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; "com/google/common/base/MoreObjects firstNonNull com/google/common/collect/Maps
newEnumMap &(Ljava/lang/Class;)Ljava/util/EnumMap; getEnumConstants ()[Ljava/lang/Object; com/google/common/collect/Lists newArrayListWithCapacity (I)Ljava/util/ArrayList; add (Ljava/lang/Object;)Z put 6(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object; (I)Ljava/lang/Object; THROW subList (II)Ljava/util/List; checkAcquiredLocks W(Lcom/google/common/util/concurrent/CycleDetectingLockFactory$Policy;Ljava/util/List;)V java/util/Collections unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; java/lang/Enum getDeclaringClass ()Ljava/lang/Class;
getSimpleName ()Ljava/lang/String; name java/lang/String valueOf &(Ljava/lang/Object;)Ljava/lang/String; length ()I (I)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString isAcquiredByCurrentThread ()Z java/lang/ThreadLocal ()Ljava/lang/Object; getLockGraphNode M()Lcom/google/common/util/concurrent/CycleDetectingLockFactory$LockGraphNode; size remove weakKeys &()Lcom/google/common/collect/MapMaker; makeMap &()Ljava/util/concurrent/ConcurrentMap; getName java/util/logging/Logger getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; ! E X Y Z [ \ ] ^ _ ` a Z b c d e 3 » Y*· ° f î g ^ _ h i e ; *+¶ ° f ó g j k l m h n e (*´ ² ¦ » Y·
§ » Y*» Y+·
· ° f û
ü ý ' û g ( j k ( l m ( o p q Q r s e ; *+¶ ° f g j k l m r t e (*´ ² ¦ » Y· § » Y*» Y+·
· ° f
' g ( j k ( l m ( o p q Q u v e *¸ W+¸ W*¸ M» Y+,· ° f
g w x ^ _
y z { w |
y } Z ~
e µ /² *¹ À L+Æ +°*¸ M² *,¹ À L+,¸ À ° f $
% &