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

io.netty.util.HashedWheelTimer.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2?io/netty/util/HashedWheelTimerjava/lang/Objectio/netty/util/TimerHashedWheelTimer.java io/netty/util/HashedWheelTimer$10io/netty/util/HashedWheelTimer$HashedWheelBucket
HashedWheelBucket1io/netty/util/HashedWheelTimer$HashedWheelTimeout
HashedWheelTimeout%io/netty/util/HashedWheelTimer$WorkerWorkerlogger/Lio/netty/util/internal/logging/InternalLogger;INSTANCE_COUNTER+Ljava/util/concurrent/atomic/AtomicInteger;WARNED_TOO_MANY_INSTANCES+Ljava/util/concurrent/atomic/AtomicBoolean;INSTANCE_COUNT_LIMITI@leakDetector$Lio/netty/util/ResourceLeakDetector;FLio/netty/util/ResourceLeakDetector;WORKER_STATE_UPDATER7Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;YLjava/util/concurrent/atomic/AtomicIntegerFieldUpdater;leak#Lio/netty/util/ResourceLeakTracker;ELio/netty/util/ResourceLeakTracker;worker'Lio/netty/util/HashedWheelTimer$Worker;workerThreadLjava/lang/Thread;WORKER_STATE_INITWORKER_STATE_STARTEDWORKER_STATE_SHUTDOWNworkerStatetickDurationJwheel3[Lio/netty/util/HashedWheelTimer$HashedWheelBucket;maskstartTimeInitialized%Ljava/util/concurrent/CountDownLatch;timeoutsLjava/util/Queue;FLjava/util/Queue;cancelledTimeoutspendingTimeouts(Ljava/util/concurrent/atomic/AtomicLong;maxPendingTimeouts	startTime$assertionsDisabledZ()Vjava/util/concurrent/ExecutorsCdefaultThreadFactory&()Ljava/util/concurrent/ThreadFactory;EF
DG'(Ljava/util/concurrent/ThreadFactory;)VAI
Jthis Lio/netty/util/HashedWheelTimer;#(JLjava/util/concurrent/TimeUnit;)VG(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;)VAO
PunitLjava/util/concurrent/TimeUnit;$(JLjava/util/concurrent/TimeUnit;I)VH(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;I)VAU
V
ticksPerWheeldjava/util/concurrent/TimeUnit[MILLISECONDS]S	\^
threadFactory$Ljava/util/concurrent/ThreadFactory;I(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;IZ)VAb
c????????J(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;IZJ)VAg
h
leakDetectionAB
kE(Lio/netty/util/HashedWheelTimer;Lio/netty/util/HashedWheelTimer$1;)VAm
n%&	p/	r#java/util/concurrent/CountDownLatcht(I)VAv
uw56	y(io/netty/util/internal/PlatformDependent{newMpscQueue()Ljava/util/Queue;}~
|78	?:8	?&java/util/concurrent/atomic/AtomicLong?(J)VA?
??;<	?java/lang/NullPointerException?`(Ljava/lang/String;)VA?
??"java/util/concurrent/ThreadFactory?R"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?k%tickDuration must be greater than 0: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(J)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??
??&ticksPerWheel must be greater than 0: ?(I)Ljava/lang/StringBuilder;??
??createWheel6(I)[Lio/netty/util/HashedWheelTimer$HashedWheelBucket;??
?23	?4	?toNanos(J)J??
\?01	????????:tickDuration: %d (expected: 0 < tickDuration in nanos < %d?java/lang/Long?valueOf(J)Ljava/lang/Long;??
??java/lang/String?format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
??	newThread((Ljava/lang/Runnable;)Ljava/lang/Thread;????'(	?java/lang/Thread?isDaemon()Z??
??	?"io/netty/util/ResourceLeakDetector?track7(Ljava/lang/Object;)Lio/netty/util/ResourceLeakTracker;??
??!io/netty/util/ResourceLeakTracker?"#	?=1	?	?)java/util/concurrent/atomic/AtomicInteger?incrementAndGet()I??
??	?)java/util/concurrent/atomic/AtomicBoolean?
compareAndSet(ZZ)Z??
??reportTooManyInstances?B
?finalizejava/lang/Throwable??B
? 	?5java/util/concurrent/atomic/AtomicIntegerFieldUpdater?	getAndSet(Ljava/lang/Object;I)I
decrementAndGet?
?@,ticksPerWheel may not be greater than 2^30: 	normalizeTicksPerWheel(I)I

3%(Lio/netty/util/HashedWheelTimer$1;)VA
inormalizedTicksPerWheelstartjava/lang/InterruptedExceptionget(Ljava/lang/Object;)I
(Ljava/lang/Object;II)Z?
B
?java/lang/IllegalStateException!cannot be started once stopped#
"?java/lang/Error&Invalid WorkerState(
'?>1	+await-B
u.stop()Ljava/util/Set;
currentThread()Ljava/lang/Thread;23
?4java/lang/Class6
getSimpleName8?
79.stop() cannot be called from ;io/netty/util/TimerTask=close(Ljava/lang/Object;)Z?@?A?@	Cjava/lang/AssertionErrorE
Fkjava/util/CollectionsHemptySetJ1
IKisAliveM?
?N	interruptPB
?QjoinS?
?TunprocessedTimeoutsV1
Wclosedignored Ljava/lang/InterruptedException;interrupted
newTimeoutR(Lio/netty/util/TimerTask;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/Timeout;task_()J?a
?ba
?d/java/util/concurrent/RejectedExecutionExceptionfNumber of pending timeouts (h@) is greater than or equal to maximum allowed pending timeouts (j)l
g?
java/lang/SystempnanoTimera
qs=(Lio/netty/util/HashedWheelTimer;Lio/netty/util/TimerTask;J)VAu
vjava/util/Queuexaddz@y{Lio/netty/util/TimerTask;delaypendingTimeoutsCountdeadlinetimeout3Lio/netty/util/HashedWheelTimer$HashedWheelTimeout;a
??!io/netty/util/internal/StringUtil?simpleClassName%(Ljava/lang/Class;)Ljava/lang/String;??
??	?You are creating too many ? instances. ?b is a shared resource that must be reused across the JVM,so that only a few instances are created.?-io/netty/util/internal/logging/InternalLogger?error????resourceTypeLjava/lang/String;
access$202$(Lio/netty/util/HashedWheelTimer;J)Jx0x1
access$200#(Lio/netty/util/HashedWheelTimer;)J
access$300G(Lio/netty/util/HashedWheelTimer;)Ljava/util/concurrent/CountDownLatch;
access$400#(Lio/netty/util/HashedWheelTimer;)I
access$500U(Lio/netty/util/HashedWheelTimer;)[Lio/netty/util/HashedWheelTimer$HashedWheelBucket;
access$6009()Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
access$7003(Lio/netty/util/HashedWheelTimer;)Ljava/util/Queue;
access$900access$1000access$1100J(Lio/netty/util/HashedWheelTimer;)Ljava/util/concurrent/atomic/AtomicLong;desiredAssertionStatus??
7?4io/netty/util/internal/logging/InternalLoggerFactory?getInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;??
??
?k
?k)io/netty/util/ResourceLeakDetectorFactory?instance-()Lio/netty/util/ResourceLeakDetectorFactory;??
??newResourceLeakDetector8(Ljava/lang/Class;I)Lio/netty/util/ResourceLeakDetector;??
??/
newUpdater\(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;??
?
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions*()Ljava/util/Set;
SourceFileInnerClasses!?? ?!"#?$%&'()?*+?,-?.B/012345678?9:8?9;<=1B>1?@AB?6*?H?K??LM?
xyAN?L
*?H-?Q?? 
LM
01
RS?
?	?AT?X*?H-?W??*LM01RSX?
??AI?D*+Y?_?Q??LM`a?
??AO?X*+ ?W??*LM`a01RS?
??AU?b*+ ?d??4LM`a01RSX?
??Ab?p	*+ e?i??>LM`a01RSXj@?
??Ag?Z
	?*?l*?Y*?o?q*?s*?uY?x?z*????*????*??Y	????+?
??Y?????
??Y???? 	????Y??Y????? ??????????Y??Y????????????*????**???d??* ????*???*????m??+??Y??Y ??SY?*????m??S?ʷ??*+*?q????*?
*?ж֚
??*?ާ??*????@??????????H?LM?`a?01?RS?X?j@?=1?v?^dj"k)l0m<?@?J?O?Y?_?z??????	?
??
?%5;>??	?J?\  ?W]I??\?!?B??1*????*??#??W?L??*??
??W+???1LM?!"!'"0%?Z??????
????g???Y??Y???????????????Y??Y??
??????????;?L=+??+?Y?S????+?? NgXL23?*
(),&-B1G2L3T4_3e6?"??
?]<?
x??B??g??*??=/2??*??&*?ж ???"Y$?%??'Y)?*?*?,	??*?z?/???L???X_b?gLM?2I K,L6P9RDTOXXZ_]b[c]f_? 

R01?!?5*?Ц,?"Y??Y???:???:?????%???*??>??*??.??W*??? *??*?BdY@?Z[|.\@?Y@?Y@LM?? c
de&g3j?lKmRnYodpvtzx|y?z?|??}?~??????????????????????????#3?B?]?	*B??-????]^?G
?+???Y`????
??Y????*???c7*??	??E*?䔞;*???eX?gY??Y??i????k??*???m?????n?*?o?t ??a*?,e7?Y*+?w:	*??	?|W	??H?LM?_}?~1?RS'|1??1???	?6
?????'?:?B?r?v?????????S;a?2*??????LM??
?B?e3??K????Y?????*?????*???????????-?????2????;*]?,???M?1?O???/*?,???M?O???/*?z???M?O???/*?????M?O???/*?????M?O???????O???/*?????M?O???/*?????M?O???/*?????M?O???/*?????M?O?B??D?????D??????Y?????Y??????ó?ĸȳ???*
OQRT"U,W2X8Z=[CZ?@??"	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy