META-INF.modules.java.base.classes.java.util.concurrent.locks.ReentrantLock.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? : ?
java/lang/Object ()V 4java/util/concurrent/locks/ReentrantLock$NonfairSync
(java/util/concurrent/locks/ReentrantLock sync /Ljava/util/concurrent/locks/ReentrantLock$Sync; 1java/util/concurrent/locks/ReentrantLock$FairSync
-java/util/concurrent/locks/ReentrantLock$Sync lock
lockInterruptibly
tryLock ()Z
! " # $ java/util/concurrent/TimeUnit toNanos (J)J
& ' ( tryLockNanos (J)Z
* + , release (I)Z
. / 0 newCondition I()Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject;
2 3 4 getHoldCount ()I
6 7 isHeldExclusively
9 : isLocked
< = > getOwner ()Ljava/lang/Thread;
@ A hasQueuedThreads
C D E isQueued (Ljava/lang/Thread;)Z
G H 4 getQueueLength
J K L getQueuedThreads ()Ljava/util/Collection; N java/lang/NullPointerException
M Q Ejava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject S "java/lang/IllegalArgumentException U not owner
R W X (Ljava/lang/String;)V
Z [ \
hasWaiters J(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject;)Z
^ _ ` getWaitQueueLength J(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject;)I
b c d getWaitingThreads _(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject;)Ljava/util/Collection; f java/lang/StringBuilder
e
i j k toString ()Ljava/lang/String;
e m n o append -(Ljava/lang/String;)Ljava/lang/StringBuilder; q
[Unlocked] s [Locked by thread
u v w x k java/lang/Thread getName z ]
e i } java/util/concurrent/locks/Lock java/io/Serializable serialVersionUID J
ConstantValuefU?,,?j? Code LineNumberTable LocalVariableTable this *Ljava/util/concurrent/locks/ReentrantLock; (Z)V fair Z
StackMapTable
Exceptions ? java/lang/InterruptedException #(JLjava/util/concurrent/TimeUnit;)Z timeout unit Ljava/util/concurrent/TimeUnit; unlock (()Ljava/util/concurrent/locks/Condition; isHeldByCurrentThread isFair hasQueuedThread thread Ljava/lang/Thread; Signature ,()Ljava/util/Collection; )(Ljava/util/concurrent/locks/Condition;)Z condition &Ljava/util/concurrent/locks/Condition; )(Ljava/util/concurrent/locks/Condition;)I >(Ljava/util/concurrent/locks/Condition;)Ljava/util/Collection; R(Ljava/util/concurrent/locks/Condition;)Ljava/util/Collection; o ? java/lang/String
SourceFile ReentrantLock.java NestMembers InnerClasses NonfairSync Sync FairSync ? 5java/util/concurrent/locks/AbstractQueuedSynchronizer ConditionObject ! | ~ ? ? ? ? ? B *? *? Y? ?
? ? % &