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

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

The 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@MILLISECOND_NANOSJ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tickDurationwheel3[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/ExecutorsDdefaultThreadFactory&()Ljava/util/concurrent/ThreadFactory;FG
EH'(Ljava/util/concurrent/ThreadFactory;)VBJ
Kthis Lio/netty/util/HashedWheelTimer;#(JLjava/util/concurrent/TimeUnit;)VG(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;)VBP
QunitLjava/util/concurrent/TimeUnit;$(JLjava/util/concurrent/TimeUnit;I)VH(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;I)VBV
W
ticksPerWheeldjava/util/concurrent/TimeUnit\MILLISECONDS^T	]_
threadFactory$Ljava/util/concurrent/ThreadFactory;I(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;IZ)VBc
d????????J(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;IZJ)VBh
i
leakDetectionBC
lE(Lio/netty/util/HashedWheelTimer;Lio/netty/util/HashedWheelTimer$1;)VBn
o'(	q#java/util/concurrent/CountDownLatchs(I)VBu
tv67	x(io/netty/util/internal/PlatformDependentznewMpscQueue()Ljava/util/Queue;|}
{~89	?;9	?&java/util/concurrent/atomic/AtomicLong?(J)VB?
??<=	?java/lang/NullPointerException?a(Ljava/lang/String;)VB?
??"java/util/concurrent/ThreadFactory?S"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?l%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;??
?34	?5	?toNanos(J)J??
]????????: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;??
??	?	?6Configured tickDuration {} smaller then {}, using 1ms.?-io/netty/util/internal/logging/InternalLogger?warn9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V????2	?	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?$%	?>	?	?)java/util/concurrent/atomic/AtomicInteger?incrementAndGet()I??
??	?)java/util/concurrent/atomic/AtomicBoolean?
compareAndSet(ZZ)Z??
??reportTooManyInstancesC
durationfinalizejava/lang/ThrowableC
!"		5java/util/concurrent/atomic/AtomicIntegerFieldUpdater	getAndSet(Ljava/lang/Object;I)I

decrementAndGet?
?@,ticksPerWheel may not be greater than 2^30: normalizeTicksPerWheel(I)I
4%(Lio/netty/util/HashedWheelTimer$1;)VB
inormalizedTicksPerWheelstartjava/lang/InterruptedException"get(Ljava/lang/Object;)I$%
&(Ljava/lang/Object;II)Z?(
)!C
?+java/lang/IllegalStateException-cannot be started once stopped/
.?java/lang/Error2Invalid WorkerState4
3??	7await9C
t:stop()Ljava/util/Set;
currentThread()Ljava/lang/Thread;>?
?@java/lang/ClassB
getSimpleNameD?
CE.stop() cannot be called from Gio/netty/util/TimerTaskIclose(Ljava/lang/Object;)ZKL?M@A	Ojava/lang/AssertionErrorQ
Rljava/util/CollectionsTemptySetV=
UWisAliveY?
?Z	interrupt\C
?]join_?
?`unprocessedTimeoutsb=
cclosedignored Ljava/lang/InterruptedException;interrupted
newTimeoutR(Lio/netty/util/TimerTask;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/Timeout;taskk()J?m
?nm
?p/java/util/concurrent/RejectedExecutionExceptionrNumber of pending timeouts (t@) is greater than or equal to maximum allowed pending timeouts (v)x
s?
+java/lang/System|nanoTime~m
}=(Lio/netty/util/HashedWheelTimer;Lio/netty/util/TimerTask;J)VB?
?java/util/Queue?add?L??Lio/netty/util/TimerTask;delaypendingTimeoutsCountdeadlinetimeout3Lio/netty/util/HashedWheelTimer$HashedWheelTimeout;$m
??isErrorEnabled????!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.?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??
C?4io/netty/util/internal/logging/InternalLoggerFactory?getInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;??
??
?l
?l)io/netty/util/ResourceLeakDetectorFactory?instance-()Lio/netty/util/ResourceLeakDetectorFactory;??
??newResourceLeakDetector8(Ljava/lang/Class;I)Lio/netty/util/ResourceLeakDetector;??
??1
newUpdater\(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;??
?
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions*()Ljava/util/Set;
SourceFileInnerClasses!?? !"?#$%?&'()*+?,-?./?0B123456789?:;9?:<=>B?@ABC?6*?I?L??MN?
yzBO?L
*?I-?R?? 
MN
2
ST?
?	?BU?X*?I-?X??*MN2STY?
??BJ?D*+Z?`?R??MNab?
??BP?X*+ ?X??*MNab2ST?
??BV?b*+ ?e??4MNab2STY?
??Bc?p	*+ f?j??>MNab2STYkA?
??Bh??
c*?m*?Y*?p?r*?tY?w?y*???*???*??Y	????+?
??Y?????
??Y???? 	????Y??Y????? ??????????Y??Y????????????*????**???d?? ??7		?*????m??+??Y??Y ??SY?*????m??S?Ƿ??	?ɔ?!??? ???ɸ???*?ɵէ	*	??*+*?r????*?
*?۶?
??*????*????@?????????RcMNcabc2cSTcYckAc>??	??"?_kl$m+n7?;?E?J?T?Z?u?z?????
??
????%CIY_ b"?C?E?]  ?S&]I??]?!C??1*??
*??#??W?L?
*??
??W+???1MN?'+,+',..0/?Z???
????g???Y??Y???????????????Y??Y????????????;?L=+??+?Y?S????+?? NgYL34?*
236&7B;G<L=T>_=e@?"??
?]<?
x?
*??.??W*??? *??*?NdeA?fg|.hA?eA?eAMN?? m
no&q3t?vKwRxYydzv~z?|??????????????????????????????????????#3?B?]#?	*B?-???ij?e
?+???Yl????
??Y????*???o7*??	??E*?;*???qX?sY??Y??u????w??*???y?????z?*?{?? ??a*?8e7 	??	???7?Y*+??:	*??	??W	??H?MN?k????ST'???.????	?>?????'?:?B?r?v?????????????S?&<m?2*??????MN??
C?}>?˹??5??K?˻?Y?????*?????*???????????,??????=??=???;*]?8???N??O???/*?8???N?O???/*?y???N?O???/*?????N?O???/*?????N?O????
??O???/*?????N?O???/*?խ??N?O???/*?????N?O???/*?????N?O?C??N?????P?³˻?Y?ó??Y?ij??`
???ɸ??γ?ϸӳ
??.OQRT"U,W6X<YB[G\M[?@??"	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy