All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.common.util.concurrent.Monitor.class Maven / Gradle / Ivy

????4	)com/google/common/util/concurrent/Monitorlock*Ljava/util/concurrent/locks/ReentrantLock;
	
(Z)V

	java/lang/Object()V	activeGuards1Lcom/google/common/util/concurrent/Monitor$Guard;	fairZ(java/util/concurrent/locks/ReentrantLock
isSatisfied
 !"$com/google/common/base/PreconditionscheckNotNull8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;$+com/google/common/util/concurrent/Monitor$1
#&	'}(Lcom/google/common/util/concurrent/Monitor;Lcom/google/common/util/concurrent/Monitor;Ljava/util/function/BooleanSupplier;)V
)
+,-./*com/google/common/util/concurrent/InternaltoNanosSaturated(Ljava/time/Duration;)J	12345java/util/concurrent/TimeUnitNANOSECONDSLjava/util/concurrent/TimeUnit;
789enter#(JLjava/util/concurrent/TimeUnit;)Z
;<=toSafeNanos#(JLjava/util/concurrent/TimeUnit;)J
?@AtryLock()Z
CDEFAjava/lang/Threadinterrupted
HIJKLjava/lang/SystemnanoTime()J
N@9
CPQR
currentThread()Ljava/lang/Thread;
CTU	interruptWjava/lang/InterruptedException
YZ[remainingNanos(JJ)J
]^lockInterruptibly
`a9enterInterruptibly	cdefg/com/google/common/util/concurrent/Monitor$Guardmonitor+Lcom/google/common/util/concurrent/Monitor;i&java/lang/IllegalMonitorStateException
h
lmAisHeldByCurrentThread
coA
qrsawait5(Lcom/google/common/util/concurrent/Monitor$Guard;Z)V
uvleave
xyz	enterWhenT(Lcom/google/common/util/concurrent/Monitor$Guard;JLjava/util/concurrent/TimeUnit;)Z
V
}~initNanoTime(J)J
???
awaitNanos6(Lcom/google/common/util/concurrent/Monitor$Guard;JZ)Z
??signalNextWaiter
??unlock
??sawaitUninterruptibly
??zenterWhenUninterruptibly
??zenterIf
??zenterIfInterruptibly
??zwaitFor
??zwaitForUninterruptibly
???getHoldCount()I
??AisLocked
???getQueueLength
??AhasQueuedThreads
???hasQueuedThread(Ljava/lang/Thread;)Z
???getWaitQueueLength4(Lcom/google/common/util/concurrent/Monitor$Guard;)I	c???waiterCountI
1??toNanos?java/lang/Long_???????
?????"com/google/common/primitives/LongsconstrainToRange(JJJ)J
??4(Lcom/google/common/util/concurrent/Monitor$Guard;)Z	c???	condition&Ljava/util/concurrent/locks/Condition;????$java/util/concurrent/locks/Conditionsignal	c??next?java/lang/Throwable
??signalAllWaiters???	signalAll
???beginWaitingFor4(Lcom/google/common/util/concurrent/Monitor$Guard;)V??r
???
endWaitingFor??????RuntimeVisibleAnnotationsLjavax/annotation/CheckForNull;RuntimeInvisibleAnnotations8Lcom/google/errorprone/annotations/concurrent/GuardedBy;valueCodeLineNumberTableLocalVariableTablethisMethodParametersnewGuardW(Ljava/util/function/BooleanSupplier;)Lcom/google/common/util/concurrent/Monitor$Guard;$Ljava/util/function/BooleanSupplier;(Ljava/time/Duration;)ZtimeLjava/time/Duration; Ljava/lang/InterruptedException;J	startTimeunittimeoutNanos
StackMapTable
ExceptionstryEnterguardsignalBeforeWaiting	satisfiedH(Lcom/google/common/util/concurrent/Monitor$Guard;Ljava/time/Duration;)Z	reentrantthrew
tryEnterIfisFair
isOccupiedisOccupiedByCurrentThreadgetOccupiedDepththreadLjava/lang/Thread;
hasWaiters	throwableLjava/lang/Throwable;waiterspprednanos	firstTime
access$000W(Lcom/google/common/util/concurrent/Monitor;)Ljava/util/concurrent/locks/ReentrantLock;x0
SourceFileMonitor.javaCLcom/google/common/util/concurrent/ElementTypesAreNonnullByDefault;0Lcom/google/common/annotations/J2ktIncompatible;/Lcom/google/common/annotations/GwtIncompatible;InnerClassesGuard1?????s3	?4*???
`a??g	
?_*?*?*?*?Y????iW	jkl??g????J+?W?#Y**+?%??
vw??g??8?6*??(??
????g8??@*+?*?0?6?????g????89??g-?:7*?:*??
?>???B6?G77

?0?M6?	?O?S?:6?X7
???:
?	?O?S
?,8FV#8WFYW?J??
???#?(?,?8?=?C?F?H?K?T?W?^?d??\	HU?,+Z?
(/??g?gg??g?5`??
Z#DF?\??
??1V?1??1??	??a?6*??\??
????g?Va??@*+?*?0?_?????g???V??a9?H
*?-?M???? 
?g
??
?5?V?	???A?2*??>?????gy??L+?b*??hY?j?*?M,?k>,?\6+?n?	*+?p6?*?t?:?*?t??!1==?=?>??????!?(?.?1?6?=?D?H?K??4L?gL?72?!+??N??
???V??y?K
*+,?*?0?w???? 
?g
?
???V?	??yz??? ?:7+?b*??hY?j?*?:?k6	7	*???B??VY?{??>???|7	 ?M??66+?n? *+		???
	?X????666
?#??*?????
:???
?:?#??*?????
:??????????b?????????????&
%(/5=EHOZ\#_$b&c'k*?(?,?-?/?2?3?6?7?6?7?-?/?2?3?6?7?6?7?9?f
??g???????5????%?(???	_?b?????$
?
c1c?
c1c@?G?	?
c1???G?	?V?
??????L+?b*??hY?j?*?M,?k>,?(6+?n?	*+??6?*?t?:?*?t??!1==?=?>>?ABCE!G(H.J1L6M=LDMHOKP?4L?gL?72?!+??N??
??????K
*+,?*?0????Z? 
?g
?
???	???z?Z? ?:7+?b*??hY?j?*?:	7?k6
?B6*???>?@?|77?0?M??%6?	?O?S?:6?X7???6+?n?	6?,	???|77
??X7
*+

??66
????	?O?S
?:
66
???:????:?	?O?S?GThVWZhV|??V|?????-Z?h???????,efgij!k(l-n<oCpGrTsWuZ?_?euhwjxmyvzy~|???????????????????????????????????????????????jU?G2Z??Z?
?Z?
?U?
|l??g???????5????!???(??
-?F????#	c1?
?
?
c1V????
?

?
c1VJ????	c1??c1??
???????;+?b*??hY?j?*?M,?(>+?nY>6?,???:?,???#..0.?2??????#?'?+?.?4?8??*;?g;?& ?&??c??	?????K
*+,?*?0?????? 
?g
?
???	???z?H+?b*??hY?j?* ?6??6+?nY66?
*????:?
*????(7797?2??????(?-?4?7?>?E??4H?gH?H??H?5)?%??c1??
??
???????;+?b*??hY?j?*?M,?\>+?nY>6?,???:?,???#..0.?2??????#?'?+?.?4?8??*;?g;?& ?&??c??	??V????K
*+,?*?0?????? 
?g
?
???V?	???z?	K+?b*??hY?j?*?: ?M??6+?nY66????:????&/<<><?6

!#&/49<CH?>K?gK?K??K?55&%?-???c1????V?
??????@+?b*??hY?j?*?M,?>??>+?nY>6?,???:?,??? (3353?6
"#%&'* ,(.,/0,3.9/=1?*@?g@?+  ?)?
??c??	??????w(+?b*?
*??k??hY?j?+?n?	*+?p??;<>!?'A?(?g(???V????K
*+,?*?0????L? 
?g
?
???V?	???z??B ?:7+?b*?
*??k??hY?j?+?n???B??VY?{?*+????"XYZ"\)]+_1`9b?4B?gB?B??B?5:???	?
?V?
??????w(+?b*?
*??k??hY?j?+?n?	*+????jkm!n'p?(?g(??????K
*+,?*?0????z? 
?g
?
???	???z?? ?:7+?b*?
*??k??hY?j?+?n??6?|7?B6
7*+??6

?	?O?S
?:
6
+?n?6
?	?O?S?6?X7???:
?	?O?S?>IWV:I?Wf?t???j???"?)?+?.?5?:?>?I?N?T?W?Y?\?c?f?k?q?t?w??????????f
Y'U?
>EZ???g???????5???.e?5^??:YF
?y
??	c1??	c1V?V??c1??
c1??
???v?? *?L+???*??+???
M+??,???"??
??????? ?g?
?F?A?/*??????gA?2*????????gA?2*??k?????g??2*????????g???2*????????g?A?2*????????g???=	*?+??????	?g		
?	??M*+?????????g??@??????/+?b*??hY?j?*??(+??=*????N*???-?%?"???#%-?/?g/??T???
<=?Q,??B!	?????

? ???5	???	??
~?g	??	??GA 	??
? ????????	?
@??
Z[?Q 	??	?
 ?Gee??*??????
F?	?????&*?L+?*+?™+?Ź??+??L????G	HIJG%M? ?&?g??c????s??j+?n?M*??,???hik
l? 
?g??E??????s??l*?L+?+?Ź?+??L????s	tsv???g??c????s???x+Y??Z`??=?+*???*+???{|~?? ?g?????????s????J+Y??dZ??=?<*?N:-+?$?*-?ε?-?ε?-?Χ-:-??N??ұ?.?????"?-?6?;?>?I??441J?gJ?>???cc?
?????srs??.?*??*+??+?Ź?+?n???*+?ߧN*+??-??
%?*
???
???"?%?+?-?? .?g.?.??	W??V?	?????s?s??.?*??*+??+?Ź?+?n???*+?ߧN*+??-??
%?*
???
???"?%?+?-?? .?g.?.??	W??	?????s???I`6 	??6?*+?????*??*+??6+?? ??A+?n???6?*+???:?*+???QDQQSQ?R??	??????#?'?,?/?:?A?D?I?N?Q?X?]??4`?g`?`?`?]?-???
??c????V?
?????s?/*?????g??
c	#




© 2015 - 2025 Weber Informatics LLC | Privacy Policy